From 598d568e4c986e3c855e285475fde68425fae501 Mon Sep 17 00:00:00 2001 From: Elias Renman <33152039+eliasrenman@users.noreply.github.com> Date: Mon, 27 Nov 2023 23:45:02 +0000 Subject: [PATCH] fix: hardware config and packages order --- hardware-configuration.nix | 15 +++++++-------- packages.nix | 13 ++++++++----- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/hardware-configuration.nix b/hardware-configuration.nix index ceec788..62f67a3 100644 --- a/hardware-configuration.nix +++ b/hardware-configuration.nix @@ -6,22 +6,21 @@ { imports = [ ]; - boot.initrd.availableKernelModules = [ "ata_piix" "ohci_pci" "ahci" "sd_mod" "sr_mod" ]; + boot.initrd.availableKernelModules = [ "ata_piix" "ohci_pci" "ehci_pci" "ahci" "sd_mod" "sr_mod" ]; + + boot.initrd.kernelModules = [ ]; boot.kernelModules = [ ]; boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/f5be4904-ef50-4105-a381-af8524f576e2"; + { device = "/dev/disk/by-uuid/a261b267-738b-44a2-b91a-5c94d1082b57"; fsType = "ext4"; }; - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/DEA2-FFC3"; - fsType = "vfat"; - }; - swapDevices = [ ]; - nix.settings.max-jobs = lib.mkDefault 1; + networking.useDHCP = lib.mkDefault true; + + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; virtualisation.virtualbox.guest.enable = true; } diff --git a/packages.nix b/packages.nix index 72bdfcd..7e78347 100644 --- a/packages.nix +++ b/packages.nix @@ -36,9 +36,14 @@ # GUI tools - kicad + kicad-small xfce.thunar + firefox + google-chrome + alacritty + # CLI Tools + neofetch # Media ffmpeg-full @@ -56,15 +61,13 @@ tokyo-night-gtk # Desktop material-icons - neofetch + vlc xorg.xmodmap xorg.xset xorg.xsetroot - firefox - google-chrome - alacritty + hyprland # Fonts