sops
This commit is contained in:
parent
c0f3e77000
commit
2c57b566f9
3 changed files with 50 additions and 2 deletions
|
|
@ -17,14 +17,25 @@
|
|||
hm = import ../home;
|
||||
in {
|
||||
${conf.user} = {
|
||||
# imports = hm.user;
|
||||
imports = hm.user;
|
||||
home.username = conf.user;
|
||||
home.stateVersion = "24.11";
|
||||
};
|
||||
};
|
||||
|
||||
sops.secrets."user/password" = {
|
||||
sopsFile = ../hosts/${conf.hostname}/secrets/default.yml;
|
||||
sopsFile = ../hosts/${conf.hostname}/secrets/default.yaml;
|
||||
neededForUsers = true;
|
||||
};
|
||||
|
||||
sops.secrets."user/ssh/private" = {
|
||||
sopsFile = ../hosts/${conf.hostname}/secrets/default.yaml;
|
||||
path = "/home/lilith/.ssh/id_ed25519";
|
||||
owner = "lilith";
|
||||
};
|
||||
sops.secrets."user/ssh/public" = {
|
||||
sopsFile = ../hosts/${conf.hostname}/secrets/default.yaml;
|
||||
path = "/home/lilith/.ssh/id_ed25519.pub";
|
||||
owner = "lilith";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue