diff --git a/machines/homelab/bootloader.nix b/machines/homelab/bootloader.nix index df6e479..c95d8bc 100644 --- a/machines/homelab/bootloader.nix +++ b/machines/homelab/bootloader.nix @@ -14,7 +14,8 @@ in boot.loader.systemd-boot.enable = lib.mkForce false; boot.loader.efi.canTouchEfiVariables = true; - boot.initrd.systemd.enable = lib.mkForce false; + + boot.initrd.systemd.enable = true; boot.lanzaboote = { enable = true; diff --git a/machines/homelab/hardware-configuration.nix b/machines/homelab/hardware-configuration.nix index 99086a0..aa0aab0 100644 --- a/machines/homelab/hardware-configuration.nix +++ b/machines/homelab/hardware-configuration.nix @@ -37,7 +37,12 @@ ]; }; - swapDevices = [ ]; + swapDevices = [ + { + device = "/dev/disk/by-uuid/7786199d-8091-4959-9e3d-d6b62d2736f7"; + options = [ "discard" ]; + } + ]; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; diff --git a/machines/homelab/user.nix b/machines/homelab/user.nix index 39529f9..f67037f 100644 --- a/machines/homelab/user.nix +++ b/machines/homelab/user.nix @@ -1,6 +1,10 @@ +{ config, ... }: { users.users.zo = { isNormalUser = true; - extraGroups = [ "wheel" ]; + extraGroups = [ + "wheel" + config.services.kubo.group + ]; }; } diff --git a/shell.nix b/shell.nix index b12f462..27e634d 100644 --- a/shell.nix +++ b/shell.nix @@ -10,5 +10,6 @@ pkgs.mkShellNoCC { shellHook = '' # npins update + git pull ''; }