2025-01-23 23:50:13 +00:00
|
|
|
{ lib, ... }:
|
2024-07-18 11:48:49 +00:00
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
2024-07-18 20:21:06 +00:00
|
|
|
# Import environment
|
|
|
|
../default.nix
|
2024-07-18 11:48:49 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
config = {
|
|
|
|
# State version
|
|
|
|
system.stateVersion = "24.05";
|
|
|
|
|
|
|
|
# Machine hostname
|
|
|
|
networking.hostName = "20212060";
|
|
|
|
|
|
|
|
# Enabled modules
|
|
|
|
modules = {
|
2024-07-18 21:56:00 +00:00
|
|
|
base.enable = true;
|
2024-09-02 18:03:39 +00:00
|
|
|
bluetooth.enable = true;
|
2024-07-19 19:54:41 +00:00
|
|
|
power-saving.enable = false;
|
2024-07-18 11:48:49 +00:00
|
|
|
pipewire.enable = true;
|
2025-01-28 09:42:20 +00:00
|
|
|
networkmanager.enable = true;
|
|
|
|
# wpa_supplicant.enable = true;
|
2024-07-18 11:48:49 +00:00
|
|
|
};
|
|
|
|
|
2025-01-23 23:50:13 +00:00
|
|
|
# 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"
|
|
|
|
];
|
|
|
|
};
|
2024-07-18 11:48:49 +00:00
|
|
|
};
|
2024-07-19 12:00:55 +00:00
|
|
|
}
|