diff options
author | nikstur <nikstur@outlook.com> | 2023-11-01 16:01:49 +0100 |
---|---|---|
committer | nikstur <nikstur@outlook.com> | 2023-11-01 16:23:28 +0100 |
commit | 7d0b5b3a94afcb751e4e79ec83f9ee8e3c5b8a0b (patch) | |
tree | b6fe4bf5594899d7e69d6cdcec227edae2b6b477 /nixos/modules/config | |
parent | d64dbf725396bd6c2371de5b5e3683a626cb7e45 (diff) |
nixos/nix-channnel: fix setting up the default channel again
Diffstat (limited to 'nixos/modules/config')
-rw-r--r-- | nixos/modules/config/nix-channel.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nixos/modules/config/nix-channel.nix b/nixos/modules/config/nix-channel.nix index 0565c9cc8dad9..a7ca7a5c74a40 100644 --- a/nixos/modules/config/nix-channel.nix +++ b/nixos/modules/config/nix-channel.nix @@ -98,8 +98,7 @@ in nix.settings.nix-path = mkIf (! cfg.channel.enable) (mkDefault ""); systemd.tmpfiles.rules = lib.mkIf cfg.channel.enable [ - "f /root/.nix-channels -" - ''w+ "/root/.nix-channels" - - - - ${config.system.defaultChannel} nixos\n'' + ''f /root/.nix-channels - - - - ${config.system.defaultChannel} nixos\n'' ]; }; } |