add some user symlinks and basic service input framework

This commit is contained in:
2025-05-20 17:48:38 -05:00
parent 47cb2c2b1f
commit b292c14814
2 changed files with 10 additions and 0 deletions
+6
View File
@@ -164,6 +164,12 @@ in
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICNkZ5Xr75thR/tEgsASzYAtaA/kbsv2PKI8ux9rgpTe roydumblauskas@gmail.com" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICNkZ5Xr75thR/tEgsASzYAtaA/kbsv2PKI8ux9rgpTe roydumblauskas@gmail.com"
]; ];
}; };
# Symlink the user directories that need to be persisted (ssh key/repository folder)
systemd.tmpfiles.rules = [
"L /home/sysAdmin/.ssh/ - - - - /persist/home/sysAdmin/.ssh"
"L /home/sysAdmin/rp/ - - - - /persist/home/sysAdmin/rp"
];
users.users.root = { users.users.root = {
hashedPassword = "$y$j9T$IjaP0KIfdpEvlLtOn.u0T/$0MJDaFEdSu6zSJ04CF1dtorD6IVgbN3vmDiiwGwwqr5"; hashedPassword = "$y$j9T$IjaP0KIfdpEvlLtOn.u0T/$0MJDaFEdSu6zSJ04CF1dtorD6IVgbN3vmDiiwGwwqr5";
+4
View File
@@ -17,6 +17,10 @@
url = "github:Mic92/sops-nix"; url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
# IDK if this is right, might need to import each service, hope not
services = {
url = "./services/";
};
}; };
outputs = { self, nixpkgs, nixvim, home-manager, disko, sops-nix, quasiSecrets }@inputs: outputs = { self, nixpkgs, nixvim, home-manager, disko, sops-nix, quasiSecrets }@inputs: