mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 10:05:13 -05:00
feat: cleaned up some stuff
This commit is contained in:
parent
de63708b61
commit
85c14a33d1
18 changed files with 47 additions and 102 deletions
26
nixos/modules/sops.nix
Executable file
26
nixos/modules/sops.nix
Executable file
|
@ -0,0 +1,26 @@
|
|||
{flake, ...}: let
|
||||
inherit (flake.config.people) user0;
|
||||
in {
|
||||
sops = {
|
||||
defaultSopsFile = ../../secrets/secrets.yaml;
|
||||
validateSopsFiles = false;
|
||||
age = {
|
||||
keyFile = "/var/lib/sops-nix/key.txt";
|
||||
generateKey = false;
|
||||
};
|
||||
secrets = {
|
||||
"ssh/private" = {
|
||||
path = "/home/${user0}/.ssh/id_ed25519";
|
||||
owner = user0;
|
||||
};
|
||||
"ssh/public" = {
|
||||
path = "/home/${user0}/.ssh/id_ed25519.pub";
|
||||
owner = user0;
|
||||
};
|
||||
"ssh/hosts" = {
|
||||
path = "/home/${user0}/.ssh/known_hosts";
|
||||
owner = user0;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue