From 0a47b317db9a13dc019b088796bc5f14257ac104 Mon Sep 17 00:00:00 2001 From: notohh Date: Fri, 13 Jan 2023 15:22:27 -0500 Subject: [PATCH] chore: new nix config --- .gitignore | 0 LICENSE | 0 README.md | 0 configuration.nix | 3 +-- flake.lock | 0 flake.nix | 0 hardware-configuration.nix | 22 +++++++++++----------- modules/home/home.nix | 0 modules/hyprland/default.nix | 0 9 files changed, 12 insertions(+), 13 deletions(-) mode change 100644 => 100755 .gitignore mode change 100644 => 100755 LICENSE mode change 100644 => 100755 README.md mode change 100644 => 100755 configuration.nix mode change 100644 => 100755 flake.lock mode change 100644 => 100755 flake.nix mode change 100644 => 100755 hardware-configuration.nix mode change 100644 => 100755 modules/home/home.nix mode change 100644 => 100755 modules/hyprland/default.nix diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/LICENSE b/LICENSE old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/configuration.nix b/configuration.nix old mode 100644 new mode 100755 index a2eac7a..e24fd06 --- a/configuration.nix +++ b/configuration.nix @@ -129,7 +129,7 @@ helix neofetch bitwarden - discord + discord-ptb spotify mpv @@ -169,7 +169,6 @@ mangohud bottles runelite - osu-lazer-bin prismlauncher # theming diff --git a/flake.lock b/flake.lock old mode 100644 new mode 100755 diff --git a/flake.nix b/flake.nix old mode 100644 new mode 100755 diff --git a/hardware-configuration.nix b/hardware-configuration.nix old mode 100644 new mode 100755 index 4ecd9c4..aa77085 --- a/hardware-configuration.nix +++ b/hardware-configuration.nix @@ -8,33 +8,33 @@ [ (modulesPath + "/installer/scan/not-detected.nix") ]; - boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; + boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/924987d1-8360-4849-92be-4d11c3467183"; + { device = "/dev/disk/by-uuid/7d098aab-1968-4605-a9a7-b1627941c1ff"; fsType = "ext4"; }; fileSystems."/boot/efi" = - { device = "/dev/disk/by-uuid/9352-466D"; + { device = "/dev/disk/by-uuid/C356-B67C"; fsType = "vfat"; }; - fileSystems."/ssd" = - { device = "/dev/disk/by-uuid/44351feb-6297-47c9-890f-27c9e22a05cb"; - fsType = "ext4"; - }; - fileSystems."/hdd" = { device = "/dev/disk/by-uuid/e2e4c4f3-51df-4020-b557-a7cf684de85b"; fsType = "ext4"; }; + fileSystems."/ssd" = + { device = "/dev/disk/by-uuid/9e5a189d-7435-45d7-aef6-cdee4de2428d"; + fsType = "ext4"; + }; + swapDevices = - [ { device = "/dev/disk/by-uuid/a850f552-bf4f-45f9-b123-e924980fd0e6"; } + [ { device = "/dev/disk/by-uuid/2f5e2c64-99b8-4fa0-943c-c9dd45c84fdc"; } ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking @@ -42,9 +42,9 @@ # still possible to use this option, but it's recommended to use it in conjunction # with explicit per-interface declarations with `networking.interfaces..useDHCP`. networking.useDHCP = lib.mkDefault true; - # networking.interfaces.enp1s0.useDHCP = lib.mkDefault true; # networking.interfaces.enp2s0.useDHCP = lib.mkDefault true; - # networking.interfaces.wlp4s0.useDHCP = lib.mkDefault true; + # networking.interfaces.enp3s0.useDHCP = lib.mkDefault true; + # networking.interfaces.wlp5s0.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; powerManagement.cpuFreqGovernor = lib.mkDefault "performance"; diff --git a/modules/home/home.nix b/modules/home/home.nix old mode 100644 new mode 100755 diff --git a/modules/hyprland/default.nix b/modules/hyprland/default.nix old mode 100644 new mode 100755