This commit is contained in:
Spectre 2024-06-07 14:05:41 +02:00
parent c0f3e77000
commit 2c57b566f9
3 changed files with 50 additions and 2 deletions

View file

@ -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";
};
}