57 lines
1.2 KiB
Nix
57 lines
1.2 KiB
Nix
{ lib, ... }:
|
|
|
|
{
|
|
imports = [
|
|
# Import environment
|
|
../default.nix
|
|
];
|
|
|
|
config = {
|
|
# State version
|
|
system.stateVersion = "24.05";
|
|
|
|
# Machine hostname
|
|
networking.hostName = "20212060";
|
|
|
|
# Enabled modules
|
|
modules = {
|
|
base.enable = true;
|
|
bluetooth.enable = true;
|
|
power-saving.enable = false;
|
|
pipewire.enable = true;
|
|
networkmanager.enable = true;
|
|
# wpa_supplicant.enable = true;
|
|
};
|
|
|
|
# Hardware configuration
|
|
hardware.enableRedistributableFirmware = true;
|
|
boot.initrd.availableKernelModules = [
|
|
"xhci_pci"
|
|
"nvme"
|
|
"usb_storage"
|
|
"sd_mod"
|
|
"rtsx_pci_sdmmc"
|
|
];
|
|
boot.initrd.kernelModules = [ ];
|
|
boot.kernelModules = [ "kvm-intel" ];
|
|
boot.extraModulePackages = [ ];
|
|
swapDevices = [ ];
|
|
hardware.cpu.intel.updateMicrocode = true;
|
|
|
|
# Filesystems
|
|
fileSystems."/" = {
|
|
device = "/dev/disk/by-uuid/3b91eaeb-ea95-4bea-8dc1-f55af7502d23";
|
|
fsType = "ext4";
|
|
};
|
|
|
|
fileSystems."/boot" = {
|
|
device = "/dev/disk/by-uuid/46BF-DE2C";
|
|
fsType = "vfat";
|
|
options = [
|
|
"fmask=0077"
|
|
"dmask=0077"
|
|
];
|
|
};
|
|
};
|
|
}
|