Skip to content

Commit

Permalink
adjust hardware config
Browse files Browse the repository at this point in the history
  • Loading branch information
yomaq committed Jun 17, 2024
1 parent 0e5e63c commit e8222fd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hosts/smalt/smalt.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,17 @@
# import users
(inputs.self + /users/admin)
# hardware
inputs.nixos-hardware.nixosModules.common-pc
inputs.nixos-hardware.nixosModules.common-cpu-amd
inputs.nixos-hardware.nixosModules.common-cpu-amd-pstate
inputs.nixos-hardware.nixosModules.common-gpu-amd
(modulesPath + "/installer/scan/not-detected.nix")
];
config = {
networking.hostName = "smalt";
system.stateVersion = "23.11";
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.enableRedistributableFirmware = lib.mkDefault true;

yomaq = {
autoUpgrade.enable = true;
Expand Down

0 comments on commit e8222fd

Please sign in to comment.