mirror of
https://git.feal.no/felixalb/nixos-config.git
synced 2024-12-21 11:47:29 +01:00
Start adding sops secrets
This commit is contained in:
parent
af6a6b8d79
commit
b8841a2c3e
17
.sops.yaml
Normal file
17
.sops.yaml
Normal file
@ -0,0 +1,17 @@
|
||||
keys:
|
||||
- &user_felixalb age1n6j9umxfn5ekvmsrqngdhux0y994yh72sd5xdt6sxec86k4dyu9shsgjkw
|
||||
- &host_voyager
|
||||
|
||||
creation_rules:
|
||||
# Global secrets
|
||||
- path_regex: secrets/[^/]+\.yaml$
|
||||
key_groups:
|
||||
- age:
|
||||
- *user_felixalb
|
||||
|
||||
# Host specific secrets
|
||||
- path_regex: secrets/voyager/[^/]+\.yaml$
|
||||
key_groups:
|
||||
- age:
|
||||
- *host_voyager
|
||||
- *user_felixalb
|
@ -45,5 +45,9 @@
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
devShells.x86_64-linux = {
|
||||
default = nixpkgs.legacyPackages.x86_64-linux.callPackage ./shell.nix { };
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user