diff options
| author | Simon Parri <simonparri@ganzeria.com> | 2025-12-12 12:43:02 -0600 |
|---|---|---|
| committer | Simon Parri <simonparri@ganzeria.com> | 2025-12-12 13:52:54 -0600 |
| commit | fa394cf6af37782c667f79eb3442ec23973d5805 (patch) | |
| tree | b395deaa45360a14d5787ad10dfd007371546cef /modules | |
| parent | 6af20479e2eb96e00b0b1a0917b7308149e6097d (diff) | |
| download | nixos-config-fa394cf6af37782c667f79eb3442ec23973d5805.tar.gz nixos-config-fa394cf6af37782c667f79eb3442ec23973d5805.zip | |
modules/default: Add nixpkgs-unstable to Nix path and registry
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/default.nix | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/modules/default.nix b/modules/default.nix index 3ab31e1..74d8278 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -1,4 +1,4 @@ -{ nixpkgs, hostname, lib, config, ... }: +{ inputs, hostname, lib, config, ... }: { imports = [ @@ -58,8 +58,11 @@ nix = { channel.enable = false; - #registry.nixpkgs.flake = nixpkgs; - nixPath = lib.mkOrder 1000 ["nixpkgs=flake:nixpkgs"]; + registry.nixpkgs-unstable.flake = inputs.nixpkgs-unstable; + nixPath = lib.mkOrder 1000 [ + "nixpkgs=flake:nixpkgs" + "nixpkgs-unstable=flake:nixpkgs-unstable" + ]; settings = { experimental-features = [ "nix-command" "flakes" ]; trusted-users = ["simon"]; |
