diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2025-01-14 15:05:32 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2025-01-14 15:05:40 +0100 |
commit | c744867b5adc417748f6ed6fdb17cb6e4c6fc46b (patch) | |
tree | cc970543a9e601244f5fab956f52e999b686f4a1 /system-profiles | |
parent | 21b52a31e1eff5c8142f26e091fde083c21db55f (diff) | |
download | nixos-c744867b5adc417748f6ed6fdb17cb6e4c6fc46b.tar nixos-c744867b5adc417748f6ed6fdb17cb6e4c6fc46b.tar.gz nixos-c744867b5adc417748f6ed6fdb17cb6e4c6fc46b.tar.bz2 nixos-c744867b5adc417748f6ed6fdb17cb6e4c6fc46b.tar.xz nixos-c744867b5adc417748f6ed6fdb17cb6e4c6fc46b.zip |
...
Diffstat (limited to 'system-profiles')
-rw-r--r-- | system-profiles/core/default.nix | 2 | ||||
-rw-r--r-- | system-profiles/niri-unstable.nix | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/system-profiles/core/default.nix b/system-profiles/core/default.nix index d60507b0..b85aea4e 100644 --- a/system-profiles/core/default.nix +++ b/system-profiles/core/default.nix | |||
@@ -181,7 +181,7 @@ in { | |||
181 | programs.ssh.internallyManaged = mkForce true; | 181 | programs.ssh.internallyManaged = mkForce true; |
182 | } | 182 | } |
183 | ]; | 183 | ]; |
184 | extraSpecialArgs = { inherit flake flakeInputs path; }; | 184 | extraSpecialArgs = { inherit flake flakeInputs path; hostConfig = config; }; |
185 | }; | 185 | }; |
186 | 186 | ||
187 | sops = mkIf hasSops { | 187 | sops = mkIf hasSops { |
diff --git a/system-profiles/niri-unstable.nix b/system-profiles/niri-unstable.nix new file mode 100644 index 00000000..3a8b393d --- /dev/null +++ b/system-profiles/niri-unstable.nix | |||
@@ -0,0 +1,11 @@ | |||
1 | { config, pkgs, lib, ... }: | ||
2 | { | ||
3 | config = { | ||
4 | programs.niri.package = lib.mkDefault pkgs.niri-unstable; | ||
5 | home-manager.sharedModules = [ | ||
6 | { | ||
7 | programs.niri.package = lib.mkDefault config.programs.niri.package; | ||
8 | } | ||
9 | ]; | ||
10 | }; | ||
11 | } | ||