completely refactor and modularize flake
This commit is contained in:
parent
3b1ed7e281
commit
b7210fcf8e
141 changed files with 884 additions and 2605 deletions
21
modules/default/common/sops.nix
Normal file
21
modules/default/common/sops.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ ... }:
|
||||
{
|
||||
|
||||
|
||||
sops.defaultSopsFile = ../../../secrets/secrets.yaml;
|
||||
sops.defaultSopsFormat = "yaml";
|
||||
|
||||
sops.age.keyFile = "/home/willifan/.config/sops/age/keys.txt";
|
||||
|
||||
sops.secrets."ssh/root/private" = {
|
||||
owner = "root";
|
||||
};
|
||||
|
||||
sops.secrets."syncthing/password" = {
|
||||
mode = "440";
|
||||
group = "syncthing";
|
||||
};
|
||||
|
||||
users.groups.syncthing = { };
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue