diff options
Diffstat (limited to 'nixos/modules')
| -rw-r--r-- | nixos/modules/features/fonts/default.nix | 2 | ||||
| -rw-r--r-- | nixos/modules/features/terminals/default.nix | 2 | ||||
| -rw-r--r-- | nixos/modules/system/boot/default.nix | 14 |
3 files changed, 3 insertions, 15 deletions
diff --git a/nixos/modules/features/fonts/default.nix b/nixos/modules/features/fonts/default.nix index 8ac4785..cecdd8f 100644 --- a/nixos/modules/features/fonts/default.nix +++ b/nixos/modules/features/fonts/default.nix @@ -3,7 +3,7 @@ { fonts.fontconfig.enable = true; - environment.systemPackages = with pkgs; [ + fonts.packages = with pkgs; [ font-awesome nerd-fonts.jetbrains-mono nerd-fonts.symbols-only diff --git a/nixos/modules/features/terminals/default.nix b/nixos/modules/features/terminals/default.nix index 22c5662..a290b42 100644 --- a/nixos/modules/features/terminals/default.nix +++ b/nixos/modules/features/terminals/default.nix @@ -5,4 +5,4 @@ foot ghostty ]; -}
\ No newline at end of file +} diff --git a/nixos/modules/system/boot/default.nix b/nixos/modules/system/boot/default.nix index eedf939..df64426 100644 --- a/nixos/modules/system/boot/default.nix +++ b/nixos/modules/system/boot/default.nix @@ -1,18 +1,9 @@ -{ config, pkgs, lib, modulesPath, ... }: +{ pkgs, ... }: { - imports = [ - (modulesPath + "/installer/scan/not-detected.nix") - ]; - boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; - boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-amd" ]; - boot.extraModulePackages = [ ]; - # EDID firmware loading is kept here because it's a kernel-level boot concern. # Commented kernel params from the original config are preserved. # boot.kernelParams = [ @@ -25,7 +16,4 @@ cp ${../../../mi_edid.bin} $out/lib/firmware/edid/mi_edid.bin '') ]; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }
\ No newline at end of file |
