diff options
Diffstat (limited to 'common.nix')
| -rw-r--r-- | common.nix | 16 |
1 files changed, 12 insertions, 4 deletions
@@ -1,4 +1,4 @@ -{pkgs, lib, ...}: { +{pkgs, lib, inputs, config,...}: { imports = [ ./modules ]; @@ -11,6 +11,11 @@ }; time.timeZone = "Europe/Amsterdam"; # Set timezone + sops.defaultSopsFile = ./secrets/secrets.yaml; + sops.age.sshKeyPaths = ["/etc/ssh_host_ed25519_key"]; + sops.age.keyFile = "/var/lib/sops-nix/key.txt"; + sops.age.generateKey = true; + systemd.oomd = { enable = true; enableUserSlices = true; @@ -41,6 +46,10 @@ ranger file lm_sensors + + # Needed for getting credentials + age + sops bashInteractive coreutils @@ -51,7 +60,8 @@ usbutils vim - # Dev stuff, move later + # TODO: Dev stuff, move later + # This could really make the image smaller git pkg-config cmake @@ -59,8 +69,6 @@ gnumake clang rustup - - # D ]; networking.hosts = { |
