summaryrefslogtreecommitdiffstats
path: root/configuration
diff options
context:
space:
mode:
Diffstat (limited to 'configuration')
-rw-r--r--configuration/default.nix16
-rw-r--r--configuration/hardware.nix44
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;
}