mirror of
https://github.com/kmein/niveum
synced 2026-03-22 21:01:07 +01:00
fix(ci): use nixos-stable
This commit is contained in:
9
ci.nix
9
ci.nix
@@ -3,7 +3,7 @@
|
|||||||
system,
|
system,
|
||||||
name,
|
name,
|
||||||
}: let
|
}: let
|
||||||
inherit (inputs) nixpkgs;
|
nixpkgs = inputs.nixos-stable;
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
ensureFiles = paths:
|
ensureFiles = paths:
|
||||||
pkgs.runCommand "directory" {} ''
|
pkgs.runCommand "directory" {} ''
|
||||||
@@ -23,6 +23,13 @@
|
|||||||
"nixos-config=${toString ./.}/systems/${name}/configuration.nix"
|
"nixos-config=${toString ./.}/systems/${name}/configuration.nix"
|
||||||
"system-secrets=${systemSecrets}"
|
"system-secrets=${systemSecrets}"
|
||||||
"secrets=${sharedSecrets}"
|
"secrets=${sharedSecrets}"
|
||||||
|
"nixpkgs=${
|
||||||
|
toString (
|
||||||
|
if name == "kabsa" || name == "manakish"
|
||||||
|
then inputs.nixos-unstable
|
||||||
|
else inputs.nixos-stable
|
||||||
|
)
|
||||||
|
}"
|
||||||
]
|
]
|
||||||
++ nixpkgs.lib.mapAttrsToList (name: value: "${name}=${value}") inputs);
|
++ nixpkgs.lib.mapAttrsToList (name: value: "${name}=${value}") inputs);
|
||||||
# cd ~/.password-store/shared && find * -type f | sed 's/.gpg$//'
|
# cd ~/.password-store/shared && find * -type f | sed 's/.gpg$//'
|
||||||
|
|||||||
Reference in New Issue
Block a user