diff options
| author | coast <coasteen@proton.me> | 2026-09-14 16:32:33 +0330 |
|---|---|---|
| committer | coast <coasteen@proton.me> | 2026-09-14 16:32:33 +0330 |
| commit | 04a4ffd63ab6b98b60794e8ad32c52fb96a39731 (patch) | |
| tree | 61dae0cc916f6b8c5376ea7412951a8ab40c0600 /configuration | |
| parent | 38b9470f8d35ff235ecc240105a88b20456ecda9 (diff) | |
| download | nix-04a4ffd63ab6b98b60794e8ad32c52fb96a39731.tar.gz nix-04a4ffd63ab6b98b60794e8ad32c52fb96a39731.tar.bz2 nix-04a4ffd63ab6b98b60794e8ad32c52fb96a39731.tar.xz nix-04a4ffd63ab6b98b60794e8ad32c52fb96a39731.tar.zst | |
update
Diffstat (limited to 'configuration')
| -rw-r--r-- | configuration/default.nix | 16 | ||||
| -rw-r--r-- | configuration/hardware.nix | 44 |
2 files changed, 40 insertions, 20 deletions
diff --git a/configuration/default.nix b/configuration/default.nix index 5630cf6..41ecf44 100644 --- a/configuration/default.nix +++ b/configuration/default.nix @@ -14,7 +14,6 @@ nix.package = pkgs.lixPackageSets.stable.lix; - boot.kernelPackages = pkgs.linuxPackages_latest; boot.initrd.compressor = "zstd"; boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.editor = false; @@ -61,6 +60,16 @@ programs.throne.enable = true; programs.throne.tunMode.enable = true; programs.nix-ld.enable = true; + programs.nix-ld.libraries = with pkgs; [ + wayland + xz + bzip2 + libadwaita + gtk4 + pango + cairo + glib + ]; programs.appimage.enable = true; programs.nm-applet.enable = true; programs.neovim.enable = true; @@ -93,14 +102,17 @@ environment.shells = with pkgs; [ zsh ]; environment.systemPackages = with pkgs; [ + git + p7zip + imagemagick wineWow64Packages.stable + vkd3d-proton wget adwaita-icon-theme rofi iptables mesa-demos wl-clipboard - inputs.fetchit.packages.${pkgs.system}.default gparted polkit_gnome woeusb-ng diff --git a/configuration/hardware.nix b/configuration/hardware.nix index bac2abd..d3b8923 100644 --- a/configuration/hardware.nix +++ b/configuration/hardware.nix @@ -2,24 +2,32 @@ { imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; - - boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelParams = [ "kvm-amd" "snd_hda_intel.probe_mask=1" ]; - boot.extraModulePackages = [ ]; - - fileSystems."/".device = "/dev/nvme0n1p2"; - fileSystems."/".fsType = "ext4"; - - fileSystems."/boot".device = "/dev/nvme0n1p1"; - fileSystems."/boot".fsType = "vfat"; - fileSystems."/boot".options = [ "fmask=0022" "dmask=0022" ]; - - fileSystems."/media/drive".device = "/dev/sda2"; - fileSystems."/media/drive".fsType = "btrfs"; - - swapDevices = [{ device = "/dev/nvme0n1p3"; }]; - + boot = { + initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ]; + initrd.kernelModules = [ ]; + kernelParams = [ "kvm-amd" "snd_hda_intel.probe_mask=1" ]; + extraModulePackages = [ ]; + }; + fileSystems = { + "/" = { + device = "UUID=721879c7-fed3-458d-bace-6a7e0a4f96b4"; + fsType = "ext4"; + }; + "/boot" = { + device = "UUID=91CC-4E7B"; + fsType = "vfat"; + options = [ "fmask=0022" "dmask=0022" ]; + }; + "/media/drive" = { + device = "UUID=93428d05-b7b8-7ba5-b81a-a8c393c787d8"; + fsType = "btrfs"; + }; + }; + swapDevices = [ + { + device = "UUID=203c900b-100e-4352-aa6e-947cc4001271"; + } + ]; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; } |
