diff options
author | nikstur <nikstur@outlook.com> | 2023-10-31 16:50:30 +0100 |
---|---|---|
committer | nikstur <nikstur@outlook.com> | 2023-10-31 16:51:23 +0100 |
commit | 8c1739cafe62ebf2d60d83241ccab871a14ee14c (patch) | |
tree | 864d0a93c9662d2d64f96d0a0ff173b6439abf7c /nixos/modules/config | |
parent | ed9263dc61f342d85b8a405d700f5370c9f81078 (diff) |
nixos/nix-channel: fix subscribing to default channel
Fixes https://github.com/NixOS/nixpkgs/issues/264602
Diffstat (limited to 'nixos/modules/config')
-rw-r--r-- | nixos/modules/config/nix-channel.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/config/nix-channel.nix b/nixos/modules/config/nix-channel.nix index 4abc846b08586..0565c9cc8dad9 100644 --- a/nixos/modules/config/nix-channel.nix +++ b/nixos/modules/config/nix-channel.nix @@ -99,7 +99,7 @@ in systemd.tmpfiles.rules = lib.mkIf cfg.channel.enable [ "f /root/.nix-channels -" - ''w "/root/.nix-channels" - - - - "${config.system.defaultChannel} nixos\n"'' + ''w+ "/root/.nix-channels" - - - - ${config.system.defaultChannel} nixos\n'' ]; }; } |