add some user symlinks and basic service input framework
This commit is contained in:
@@ -165,6 +165,12 @@ in
|
||||
];
|
||||
};
|
||||
|
||||
# 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 = {
|
||||
hashedPassword = "$y$j9T$IjaP0KIfdpEvlLtOn.u0T/$0MJDaFEdSu6zSJ04CF1dtorD6IVgbN3vmDiiwGwwqr5";
|
||||
openssh.authorizedKeys.keys = [
|
||||
|
||||
@@ -17,6 +17,10 @@
|
||||
url = "github:Mic92/sops-nix";
|
||||
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:
|
||||
|
||||
Reference in New Issue
Block a user