1
0
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:
2022-05-24 11:28:37 +02:00
parent 129127f917
commit 5b38655575

9
ci.nix
View File

@@ -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$//'