diff options
| author | Martin Fischer <martin@push-f.com> | 2026-02-21 12:01:04 +0100 |
|---|---|---|
| committer | Martin Fischer <martin@push-f.com> | 2026-02-21 19:19:32 +0100 |
| commit | 79fbd668240549a837f09cabb81df387ba18562b (patch) | |
| tree | dc682677dbe102fb56f4b4bc6a37587595686cc6 /nixos/hosts | |
| parent | 8aac00d135764626b175c32b01a6257646676d64 (diff) | |
refactor: use nixos-unstable rather than nixpkgs-unstable
Sometimes using an unstable package also requires the unstable NixOS module.
Diffstat (limited to 'nixos/hosts')
| -rw-r--r-- | nixos/hosts/hamac/default.nix | 2 | ||||
| -rw-r--r-- | nixos/hosts/tente/default.nix | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/nixos/hosts/hamac/default.nix b/nixos/hosts/hamac/default.nix index bb09832..0815373 100644 --- a/nixos/hosts/hamac/default.nix +++ b/nixos/hosts/hamac/default.nix @@ -4,7 +4,7 @@ let sources = import <top/npins>; - pkgs-unstable = import sources.nixpkgs-unstable {}; + pkgs-unstable = import sources.nixos-unstable {}; in { _module.args = { inherit pkgs-unstable; }; diff --git a/nixos/hosts/tente/default.nix b/nixos/hosts/tente/default.nix index 22afbbe..edf2bd8 100644 --- a/nixos/hosts/tente/default.nix +++ b/nixos/hosts/tente/default.nix @@ -11,12 +11,10 @@ let ports = import ./ports.nix; sources = import <top/npins>; helpers = import <top/helpers.nix> { inherit config lib pkgs; }; - pkgs-unstable = import sources.nixpkgs-unstable {}; gitoliteDataDir = "/srv/gitolite"; reposDir = "${gitoliteDataDir}/repositories"; in { - _module.args = { inherit pkgs-unstable; }; imports = [ ./hardware-configuration.nix <top/profiles/server> |
