summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/default.nix
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2016-06-13 12:54:15 +0200
committerlassulus <lass@aidsballs.de>2016-06-13 12:54:15 +0200
commitb244441223ac192926da8465dea3273c225bbd68 (patch)
treeb688576b2219b6aefc5663f7d227016a590fc194 /makefu/2configs/default.nix
parentf832a63ce045823c1aeafec48fbe32b78ed7cd6d (diff)
parentb9c0c46b4d0f9907f1b3fc96494be96abc60c8db (diff)
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/2configs/default.nix')
-rw-r--r--makefu/2configs/default.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/makefu/2configs/default.nix b/makefu/2configs/default.nix
index 62daed8be..e7366e182 100644
--- a/makefu/2configs/default.nix
+++ b/makefu/2configs/default.nix
@@ -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";