From 13f85f26ed8ca7a08037b7a7f4266522c531a1e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 4 Jan 2023 02:01:37 +0100 Subject: [PATCH] Remove channels on user activation --- config/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/default.nix b/config/default.nix index aeca62de..3a161b17 100644 --- a/config/default.nix +++ b/config/default.nix @@ -154,6 +154,11 @@ lib.mkMerge [ }; }; + system.userActivationScripts.removeChannels = '' + echo "Removing all channels.." + rm -v /nix/var/nix/profiles/per-user/*/channels* + ''; + time.timeZone = lib.mkDefault "Europe/Berlin"; users.motd = builtins.readFile ./motd;