From 07758171a380b1f46756f06c8bad9bf2b7fb8b39 Mon Sep 17 00:00:00 2001 From: Kabbone Date: Sun, 18 Sep 2022 14:33:58 +0200 Subject: [PATCH] first working setup --- hosts/home.nix | 2 +- hosts/laptop/hardware-configuration.nix | 21 ++++++++++++--------- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/hosts/home.nix b/hosts/home.nix index 9d8c344..37d87b2 100644 --- a/hosts/home.nix +++ b/hosts/home.nix @@ -70,7 +70,7 @@ #doom emacs # Text Editor #flameshot # Screenshot #libnotify # Dep for Dunst - neovim # Text Editor + #neovim # Text Editor #rofi # Menu #udiskie # Auto Mounting #vim # Text Editor diff --git a/hosts/laptop/hardware-configuration.nix b/hosts/laptop/hardware-configuration.nix index b8af98b..51e347d 100644 --- a/hosts/laptop/hardware-configuration.nix +++ b/hosts/laptop/hardware-configuration.nix @@ -17,7 +17,7 @@ [ (modulesPath + "/installer/scan/not-detected.nix") ]; - boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; + boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" "rtsx_usb_sdmmc" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; @@ -53,13 +53,13 @@ # prefixLength = 24; #} ]; }; - wlo1 = { - useDHCP = true; - #ipv4.addresses = [ { - # address = "192.168.0.51"; - # prefixLength = 24; - #} ]; - }; +# wlo1 = { +# useDHCP = true; +# #ipv4.addresses = [ { +# # address = "192.168.0.51"; +# # prefixLength = 24; +# #} ]; +# }; }; #defaultGateway = "192.168.0.1"; #nameservers = [ "192.168.0.4" ]; @@ -70,4 +70,7 @@ #}; }; - hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; } + hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; + # high-resolution display + hardware.video.hidpi.enable = lib.mkDefault true; +}