generified a lot of stuff and added SSH keys (EDI private key still needs adding)

This commit is contained in:
Lillian Violet 2024-12-23 00:19:46 +01:00
parent 6c64a962f4
commit 45c12e8f37
19 changed files with 82 additions and 80 deletions

View file

@ -21,25 +21,13 @@
# You can also split up your configuration and import pieces of it here:
# ./users.nix
../../desktop
# ../../desktop
../../../disko/GLaDOS
# Import your generated (nixos-generate-config) hardware configuration
./hardware-configuration.nix
];
sops = {
defaultSopsFile = ./secrets/sops.yaml;
secrets."wg-private-key".mode = "0440";
secrets."wg-private-key".owner = config.users.users.root.name;
secrets."ssh-private-key" = {
mode = "0600";
owner = config.users.users.lillian.name;
path = "/home/lillian/.ssh/id_ed25519";
};
};
environment.systemPackages = with pkgs; [
];