removed nixos-hardware
This commit is contained in:
parent
4773f8d79a
commit
2862aa7aa9
5 changed files with 8 additions and 8 deletions
|
@ -39,9 +39,6 @@
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Hardware for my laptop
|
|
||||||
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
|
||||||
|
|
||||||
# Hyprland, my main compositor
|
# Hyprland, my main compositor
|
||||||
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,6 @@ in {
|
||||||
./vali/temperance
|
./vali/temperance
|
||||||
../modules
|
../modules
|
||||||
inputs.home-manager.nixosModules.home-manager
|
inputs.home-manager.nixosModules.home-manager
|
||||||
inputs.lix-module.nixosModules.default
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -49,8 +48,6 @@ in {
|
||||||
./vali/hermit
|
./vali/hermit
|
||||||
../modules
|
../modules
|
||||||
inputs.home-manager.nixosModules.home-manager
|
inputs.home-manager.nixosModules.home-manager
|
||||||
# inputs.lix-module.nixosModules.default
|
|
||||||
inputs.nixos-hardware.nixosModules.dell-xps-15-7590-nvidia
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
programs.kdeconnect.enable = true;
|
programs.kdeconnect.enable = true;
|
||||||
programs.dconf.enable = true;
|
programs.dconf.enable = true;
|
||||||
boot.kernelPackages = pkgs.linuxPackages_xanmod_latest;
|
boot.kernelPackages = pkgs.linuxPackages_xanmod_latest;
|
||||||
|
services.thermald.enable = true;
|
||||||
|
|
||||||
modules = {
|
modules = {
|
||||||
system = {
|
system = {
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc"];
|
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc"];
|
||||||
boot.initrd.kernelModules = [];
|
boot.initrd.kernelModules = [];
|
||||||
boot.kernelModules = ["kvm-intel"];
|
boot.kernelModules = ["kvm-intel"];
|
||||||
|
boot.kernelParams = ["mem_sleep_default=deep"];
|
||||||
boot.extraModulePackages = [];
|
boot.extraModulePackages = [];
|
||||||
|
|
||||||
fileSystems."/" = {
|
fileSystems."/" = {
|
||||||
|
@ -32,7 +33,8 @@
|
||||||
# swapDevices =
|
# swapDevices =
|
||||||
# [ { device = "/dev/disk/by-uuid/3518272e-1051-41e2-a7f0-f5c744e46789"; }
|
# [ { device = "/dev/disk/by-uuid/3518272e-1051-41e2-a7f0-f5c744e46789"; }
|
||||||
# ];
|
# ];
|
||||||
|
# Earlier font setup
|
||||||
|
console.earlySetup = true;
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
# 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
|
# (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
|
# still possible to use this option, but it's recommended to use it in conjunction
|
||||||
|
@ -40,6 +42,9 @@
|
||||||
networking.useDHCP = lib.mkDefault true;
|
networking.useDHCP = lib.mkDefault true;
|
||||||
# networking.interfaces.wlp59s0.useDHCP = lib.mkDefault true;
|
# networking.interfaces.wlp59s0.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
|
# Enable firmware updates via `fwupdmgr`.
|
||||||
|
services.fwupd.enable = lib.mkDefault true;
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
}
|
}
|
||||||
|
|
|
@ -55,7 +55,7 @@
|
||||||
# Let the system decide the number of max jobs
|
# Let the system decide the number of max jobs
|
||||||
# based on available system specs. Usually this is
|
# based on available system specs. Usually this is
|
||||||
# the same as the number of cores your CPU has.
|
# the same as the number of cores your CPU has.
|
||||||
max-jobs = "auto";
|
max-jobs = 2;
|
||||||
|
|
||||||
# If set, Nix will perform builds in a sandboxed environment
|
# If set, Nix will perform builds in a sandboxed environment
|
||||||
# that it will set up automatically for each build.
|
# that it will set up automatically for each build.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue