45 lines
1,012 B
Nix
45 lines
1,012 B
Nix
|
{ tree, config, pkgs, lib, ... }:
|
||
|
|
||
|
{
|
||
|
imports = with tree; [
|
||
|
profiles.dev
|
||
|
profiles.gui
|
||
|
profiles.x11
|
||
|
profiles.xfce
|
||
|
profiles.laptop
|
||
|
profiles.pulse
|
||
|
profiles.network_manager
|
||
|
home.gui
|
||
|
home.network_manager
|
||
|
];
|
||
|
|
||
|
boot = {
|
||
|
loader = {
|
||
|
systemd-boot.enable = true;
|
||
|
efi.canTouchEfiVariables = true;
|
||
|
};
|
||
|
initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
||
|
kernelModules = [ "kvm-intel" ];
|
||
|
};
|
||
|
|
||
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||
|
hardware.enableRedistributableFirmware = true;
|
||
|
|
||
|
networking.hostName = "nixos";
|
||
|
|
||
|
fileSystems = {
|
||
|
"/" = {
|
||
|
device = "/dev/disk/by-uuid/491ec94c-5e6a-4d23-a2a6-bcf4971a6e7b";
|
||
|
fsType = "ext4";
|
||
|
};
|
||
|
"/boot" = {
|
||
|
device = "/dev/disk/by-uuid/61F3-FD84";
|
||
|
fsType = "vfat";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
system.stateVersion = "21.11";
|
||
|
}
|
||
|
|