WIP Ragenix
This commit is contained in:
parent
18bfabfc21
commit
799e2fd944
6 changed files with 308 additions and 119 deletions
|
@ -1 +1 @@
|
|||
{self, ...}: {environment.etc."backup".source = self;}
|
||||
{inputs, ...}: {environment.etc."backup".source = inputs.self;}
|
||||
|
|
|
@ -7,5 +7,5 @@
|
|||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = [pkgs.git-credential-manager];
|
||||
environment.systemPackages = [pkgs.gh];
|
||||
}
|
||||
|
|
13
modules/common/ragenix.nix
Normal file
13
modules/common/ragenix.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
inputs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
environment.systemPackages = [inputs.ragenix.packages.x86_64-linux.default];
|
||||
|
||||
age.secrets = with lib;
|
||||
listToAttrs (mapAttrsToList (name: _: {
|
||||
name = name;
|
||||
value.file = name;
|
||||
}) (import ../../secrets/secrets.nix));
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue