From cd29f8578675b99fe89970de15007be1978878a5 Mon Sep 17 00:00:00 2001 From: = Date: Thu, 30 Jul 2026 13:49:45 -0500 Subject: (enzo) specific changes --- machines/enzo/default.nix | 3 +-- machines/enzo/desktop.nix | 2 ++ machines/enzo/hardware-configuration.nix | 27 +++++++++------------------ 3 files changed, 12 insertions(+), 20 deletions(-) diff --git a/machines/enzo/default.nix b/machines/enzo/default.nix index 90da815..d608f10 100644 --- a/machines/enzo/default.nix +++ b/machines/enzo/default.nix @@ -29,8 +29,8 @@ ]; packages = with pkgs; [ git - neovim tmux + neovim btop ripgrep unzip @@ -39,7 +39,6 @@ psmisc usbutils stow - nushell ]; }; diff --git a/machines/enzo/desktop.nix b/machines/enzo/desktop.nix index 600f995..529d7de 100644 --- a/machines/enzo/desktop.nix +++ b/machines/enzo/desktop.nix @@ -56,6 +56,8 @@ "input" ]; + programs.firefox.enable = true; + users.users.hwebs.packages = with pkgs; [ ghostty # terminal fuzzel # launcher diff --git a/machines/enzo/hardware-configuration.nix b/machines/enzo/hardware-configuration.nix index 30c00ee..f0c06c1 100644 --- a/machines/enzo/hardware-configuration.nix +++ b/machines/enzo/hardware-configuration.nix @@ -1,27 +1,18 @@ -# PLACEHOLDER — regenerate on the laptop. -# -# During install run: nixos-generate-config --no-filesystems --root /mnt -# then copy the generated hardware-configuration.nix over this file. Because the -# disk layout is declared in ./disko.nix, this file must NOT define fileSystems -# or swapDevices (--no-filesystems omits them). It only needs to evaluate until -# the real one is generated; it will NOT boot as-is. +# Do not modify this file! It was generated by ‘nixos-generate-config’ +# and may be overwritten by future invocations. Please make changes +# to /etc/nixos/configuration.nix instead. { config, lib, pkgs, modulesPath, ... }: { - imports = [ - (modulesPath + "/installer/scan/not-detected.nix") - ]; + imports = + [ (modulesPath + "/installer/scan/not-detected.nix") + ]; - # nixos-generate-config fills these in on the laptop. TPM unlock in initrd - # needs the TPM module (tpm_tis / tpm_crb) here — usually auto-detected. - boot.initrd.availableKernelModules = [ ]; - boot.initrd.kernelModules = [ ]; + boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usb_storage" "sd_mod" ]; + boot.initrd.kernelModules = [ "dm-snapshot" ]; boot.kernelModules = [ ]; boot.extraModulePackages = [ ]; - # fileSystems / swapDevices intentionally omitted — provided by ./disko.nix. - - networking.useDHCP = lib.mkDefault true; - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; } -- cgit v1.3