From 998c9aa54d6c57fedafe87903899836b91904525 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sun, 9 Jun 2024 15:40:51 +0200 Subject: [PATCH] hosts: small fixes on kabtopci prototype --- hosts/kabtopci/default.nix | 9 ++++----- hosts/kabtopci/hardware-configuration.nix | 4 +++- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/hosts/kabtopci/default.nix b/hosts/kabtopci/default.nix index 7f2e72d..66f3154 100644 --- a/hosts/kabtopci/default.nix +++ b/hosts/kabtopci/default.nix @@ -30,11 +30,10 @@ kernelPackages = pkgs.linuxPackages_latest; loader = { # EFI Boot - systemd-boot.enable = true; - efi = { - canTouchEfiVariables = true; - efiSysMountPoint = "/boot"; - }; + grub = { + enable = true; + device = "/dev/vda"; + }; timeout = 1; # Grub auto select time }; }; diff --git a/hosts/kabtopci/hardware-configuration.nix b/hosts/kabtopci/hardware-configuration.nix index 2558e6f..7a70e72 100644 --- a/hosts/kabtopci/hardware-configuration.nix +++ b/hosts/kabtopci/hardware-configuration.nix @@ -54,7 +54,7 @@ fileSystems."/var" = { device = "/dev/disk/by-label/NIXROOT"; fsType = "btrfs"; - options = [ "compress=zstd,space_cache=v2,ssd,noatime,subvol=@var,discard=async" ]; + options = [ "space_cache=v2,ssd,noatime,subvol=@var,discard=async" ]; }; fileSystems."/nix" = @@ -104,4 +104,6 @@ allowedTCPPorts = [ 80 443 ]; }; }; + + hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }