Initial commit
This commit is contained in:
commit
cfcc57a8bd
353 changed files with 18756 additions and 0 deletions
31
module/aspect/sops.nix
Normal file
31
module/aspect/sops.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
flake-file.inputs = {
|
||||
sops-nix.url = "github:Mic92/sops-nix";
|
||||
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
den.aspects = {
|
||||
sops = {
|
||||
nixos =
|
||||
{ inputs, pkgs, config, ... }:
|
||||
{
|
||||
imports = [
|
||||
inputs.sops-nix.nixosModules.sops
|
||||
];
|
||||
environment.systemPackages = [
|
||||
pkgs.sops
|
||||
pkgs.age
|
||||
];
|
||||
sops.defaultSopsFile = ./../../secrets/secrets.yaml;
|
||||
sops.defaultSopsFormat = "yaml";
|
||||
};
|
||||
homeManager =
|
||||
{ inputs, pkgs, ... }:
|
||||
{
|
||||
sharedModules = [
|
||||
inputs.sops-nix.homeManagerModules.sops
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue