summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-06-06 22:00:20 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2021-06-06 22:00:20 +0200
commitc125483a5ff2f1c701f7bbf26c14dee6efff8cbb (patch)
treedab8ae89869141aad7375667a385e6c707eaefe3
parent54efa501546c9e814a1ed6d12a44bfac78a9dfc9 (diff)
parent11c09b3072ff4dddfe14a0becf1430296303e230 (diff)
downloadnixos-c125483a5ff2f1c701f7bbf26c14dee6efff8cbb.tar
nixos-c125483a5ff2f1c701f7bbf26c14dee6efff8cbb.tar.gz
nixos-c125483a5ff2f1c701f7bbf26c14dee6efff8cbb.tar.bz2
nixos-c125483a5ff2f1c701f7bbf26c14dee6efff8cbb.tar.xz
nixos-c125483a5ff2f1c701f7bbf26c14dee6efff8cbb.zip
Merge branch 'flakes-template' into flakes
-rw-r--r--system-profiles/core.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/system-profiles/core.nix b/system-profiles/core.nix
index 8fed3751..18c271bd 100644
--- a/system-profiles/core.nix
+++ b/system-profiles/core.nix
@@ -79,7 +79,7 @@ in {
79 system.activationScripts.symlink-flake = '' 79 system.activationScripts.symlink-flake = ''
80 if test -L /etc/nixos; then 80 if test -L /etc/nixos; then
81 ln -nsf ${flake} /etc/nixos 81 ln -nsf ${flake} /etc/nixos
82 elif rmdir --ignore-fail-on-non-empty /etc/nixos; then 82 elif test -d /etc/nixos && rmdir --ignore-fail-on-non-empty /etc/nixos; then
83 ln -s ${flake} /etc/nixos 83 ln -s ${flake} /etc/nixos
84 fi 84 fi
85 ''; 85 '';