homelab config + shell.nix update

This commit is contained in:
boyreau 2026-09-22 07:31:32 +02:00
commit e0e06d41a2
4 changed files with 14 additions and 3 deletions

View file

@ -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;

View file

@ -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;

View file

@ -1,6 +1,10 @@
{ config, ... }:
{
users.users.zo = {
isNormalUser = true;
extraGroups = [ "wheel" ];
extraGroups = [
"wheel"
config.services.kubo.group
];
};
}