m 2 defaut: fix .nix-defexpr in activation script"

This commit is contained in:
makefu 2016-06-12 19:47:21 +02:00
parent 8fc06fb1b8
commit 710063d69a

View file

@ -154,6 +154,15 @@ with config.krebs.lib;
"net.ipv6.conf.default.use_tempaddr" = 2;
};
system.activationScripts.nix-defexpr = ''
(set -euf
for i in /home/makefu /root/;do
f="$i/.nix-defexpr"
rm -fr "$f"
ln -s /var/src/nixpkgs "$f"
done)
'';
i18n = {
consoleKeyMap = "us";
defaultLocale = "en_US.UTF-8";