summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/default.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2016-06-12 19:47:21 +0200
committermakefu <github@syntax-fehler.de>2016-06-12 19:47:26 +0200
commit7dd825bed421a773db185983fdc50d2b5f704c59 (patch)
treef54191c9e6a6426d1bdec9eeb222e2c5ec95f023 /makefu/2configs/default.nix
parent50f4b1d79dce0560137f5118eb18b7af4b0e37d8 (diff)
m 2 defaut: fix .nix-defexpr in activation script"
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";