mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
feat(ci): streamline definition
This commit is contained in:
14
ci.nix
14
ci.nix
@@ -11,20 +11,12 @@ let
|
|||||||
echo foo > ${nixpkgs.lib.escapeShellArg path}
|
echo foo > ${nixpkgs.lib.escapeShellArg path}
|
||||||
'') paths}
|
'') paths}
|
||||||
'';
|
'';
|
||||||
nixPath = nixpkgs.lib.concatStringsSep ":" [
|
nixPath = nixpkgs.lib.concatStringsSep ":" ([
|
||||||
"nixos-config=${toString ./.}/systems/${name}/configuration.nix"
|
|
||||||
"niveum=${toString ./.}"
|
"niveum=${toString ./.}"
|
||||||
"nixpkgs=${inputs.nixpkgs}"
|
"nixos-config=${toString ./.}/systems/${name}/configuration.nix"
|
||||||
"nixpkgs-unstable=${inputs.nixpkgs-unstable}"
|
|
||||||
"stockholm=${inputs.stockholm}"
|
|
||||||
"home-manager=${inputs.home-manager}"
|
|
||||||
"nix-writers=${inputs.nix-writers}"
|
|
||||||
"retiolum=${inputs.retiolum}"
|
|
||||||
"menstruation-backend=${inputs.menstruation-backend}"
|
|
||||||
"menstruation-telegram=${inputs.menstruation-telegram}"
|
|
||||||
"system-secrets=${systemSecrets}"
|
"system-secrets=${systemSecrets}"
|
||||||
"secrets=${sharedSecrets}"
|
"secrets=${sharedSecrets}"
|
||||||
];
|
] ++ 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$//'
|
||||||
sharedSecrets = ensureFiles [
|
sharedSecrets = ensureFiles [
|
||||||
"di.fm/key"
|
"di.fm/key"
|
||||||
|
|||||||
Reference in New Issue
Block a user