Remove channels on user activation

This commit is contained in:
Sandro - 2023-01-04 02:01:37 +01:00
parent d21da41d03
commit 13f85f26ed
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 5 additions and 0 deletions

View File

@ -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;