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 | |
| 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')
| -rw-r--r-- | nixos/hosts/hamac/default.nix | 2 | ||||
| -rw-r--r-- | nixos/hosts/tente/default.nix | 2 | ||||
| -rw-r--r-- | nixos/npins/sources.json | 8 |
3 files changed, 5 insertions, 7 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> diff --git a/nixos/npins/sources.json b/nixos/npins/sources.json index a8a7586..fb38f3e 100644 --- a/nixos/npins/sources.json +++ b/nixos/npins/sources.json @@ -144,11 +144,11 @@ "url": "https://releases.nixos.org/nixos/25.11-small/nixos-25.11.4038.0ac615ad4da0/nixexprs.tar.xz", "hash": "0a7crl1xgk4f55gn6f6fbl9w2yycc5vbbpsm39g7d7vd6mqb5028" }, - "nixpkgs-unstable": { + "nixos-unstable": { "type": "Channel", - "name": "nixpkgs-unstable", - "url": "https://releases.nixos.org/nixpkgs/nixpkgs-26.05pre927565.13868c071cc7/nixexprs.tar.xz", - "hash": "0kq3vzi4f4ifx6jqqxvkrsd5grnmfay2nppzxpy1yni7rpjykry2" + "name": "nixos-unstable", + "url": "https://releases.nixos.org/nixos/unstable/nixos-26.05pre928726.e4bae1bd10c9/nixexprs.tar.xz", + "hash": "14vr8iq4kfk5l9h3sb7w989mbaxj9a1d98cldkk1bicql5va4sp7" }, "prometheus-sql-exporter": { "type": "GitRelease", |
