From 0a1d80d7e19e0c30998bfe674a51e2162e63b7cd Mon Sep 17 00:00:00 2001 From: noe Date: Sat, 23 Dec 2023 11:33:57 -0500 Subject: [PATCH] keylime: we getting there --- nixos/hosts/keylime/default.nix | 4 +++- nixos/templates/proxmox-lxc.nix | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/nixos/hosts/keylime/default.nix b/nixos/hosts/keylime/default.nix index ff0f513..249e8cb 100644 --- a/nixos/hosts/keylime/default.nix +++ b/nixos/hosts/keylime/default.nix @@ -3,8 +3,10 @@ ../../templates/proxmox-lxc.nix ../../server.nix ../../features/podman.nix + ../../features/dns-cache.nix ]; - networking.hostname = "keylime"; + networking.hostName = "keylime"; system.stateVersion = "24.05"; + nixpkgs.hostPlatform = "x86_64-linux"; } diff --git a/nixos/templates/proxmox-lxc.nix b/nixos/templates/proxmox-lxc.nix index 0742e06..a4b1904 100644 --- a/nixos/templates/proxmox-lxc.nix +++ b/nixos/templates/proxmox-lxc.nix @@ -4,7 +4,7 @@ ../users/noe.nix ]; - system.stateVersion = lib.mkDefault "24.05"; + system.stateVersion = lib.version; users.users.root.hashedPassword = "$y$j9T$kWYIRHrwP1uXV.l4vTJ67/$VGkvX09rzebYPWRI5vk0Z/IDo434bBaIqUutWp4l0L2"; users.users.root.openssh.authorizedKeys.keys = import ../users/noe-keys.nix; @@ -14,6 +14,8 @@ git # necessary for bootstrapping ]; + networking.nameservers = lib.mkDefault ["1.1.1.1" "1.0.0.1"]; + systemd.services."getty@tty1" = { enable = lib.mkForce true; wantedBy = [ "getty.target" ];