diff options
| -rw-r--r-- | hosts/hardware-configuration-desktop.nix | 45 | ||||
| -rw-r--r-- | hosts/hardware-configuration-laptop.nix | 41 | ||||
| -rw-r--r-- | modules/apps.nix | 4 |
3 files changed, 0 insertions, 90 deletions
diff --git a/hosts/hardware-configuration-desktop.nix b/hosts/hardware-configuration-desktop.nix deleted file mode 100644 index d7cb3b4..0000000 --- a/hosts/hardware-configuration-desktop.nix +++ /dev/null @@ -1,45 +0,0 @@ -# Do not modify this file! It was generated by ‘nixos-generate-config’ -# and may be overwritten by future invocations. Please make changes -# to /etc/nixos/configuration.nix instead. -{ config, lib, pkgs, modulesPath, ... }: - -{ - imports = - [ (modulesPath + "/installer/scan/not-detected.nix") - ]; - - boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; - boot.initrd.kernelModules = [ "amdgpu" ]; - boot.kernelModules = [ "kvm-amd" "iptables" "iptable_nat" ]; - boot.extraModulePackages = [ ]; - - fileSystems."/" = - { device = "/dev/disk/by-uuid/70e9dc2b-0e5d-494e-b82f-fab6c44917be"; - fsType = "ext4"; - }; - - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/E641-FDDD"; - fsType = "vfat"; - options = [ "fmask=0077" "dmask=0077" ]; - }; - - swapDevices = [ ]; - - # Enables DHCP on each ethernet and wireless interface. In case of scripted networking - # (the default) this is the recommended approach. When using systemd-networkd it's - # still possible to use this option, but it's recommended to use it in conjunction - # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`. - networking.useDHCP = lib.mkDefault true; - # networking.interfaces.eno1.useDHCP = lib.mkDefault true; - # networking.interfaces.wlp9s0.useDHCP = lib.mkDefault true; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; - - hardware.opengl = { enable = true; }; - services.xserver.videoDrivers = [ "amdgpu" ]; - # environment.variables = { - # AMD_VULKAN_ICD = "RADV"; # Force Mesa RADV over AMDVLK for better perf - # }; -} diff --git a/hosts/hardware-configuration-laptop.nix b/hosts/hardware-configuration-laptop.nix deleted file mode 100644 index 327f8c8..0000000 --- a/hosts/hardware-configuration-laptop.nix +++ /dev/null @@ -1,41 +0,0 @@ -# Do not modify this file! It was generated by ‘nixos-generate-config’ -# and may be overwritten by future invocations. Please make changes -# to /etc/nixos/configuration.nix instead. -{ config, lib, modulesPath, ... }: - -{ - imports = - [ (modulesPath + "/installer/scan/not-detected.nix") - ]; - - boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usbhid" "usb_storage" "sd_mod" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-amd" ]; - boot.extraModulePackages = [ ]; - - fileSystems."/" = - { device = "/dev/disk/by-uuid/07da3892-5b26-43d5-9e41-dbab9f4a8067"; - fsType = "ext4"; - }; - - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/4E6C-E7AD"; - fsType = "vfat"; - options = [ "fmask=0077" "dmask=0077" ]; - }; - - swapDevices = [ { - device = "/var/lib/swapfile"; - size = 16*1024; - } ]; - - # Enables DHCP on each ethernet and wireless interface. In case of scripted networking - # (the default) this is the recommended approach. When using systemd-networkd it's - # still possible to use this option, but it's recommended to use it in conjunction - # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`. - networking.useDHCP = lib.mkDefault true; - # networking.interfaces.wlo1.useDHCP = lib.mkDefault true; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; -} diff --git a/modules/apps.nix b/modules/apps.nix index 885c650..b1c932e 100644 --- a/modules/apps.nix +++ b/modules/apps.nix @@ -47,7 +47,6 @@ kopia-ui rclone-ui binsider - yt-dlp spotify inotify-tools _010editor @@ -61,9 +60,6 @@ wasistlos # Whatsapp inputs.eko.packages."${system}".eko - # Terminal - tree-sitter - # CLI wakatime-cli watchexec |
