48 lines
966 B
Nix
48 lines
966 B
Nix
{ tree, config, pkgs, lib, ... }:
|
|
|
|
{
|
|
imports = with tree; [
|
|
profiles.dev
|
|
profiles.gui
|
|
profiles.laptop
|
|
profiles.pulse
|
|
profiles.network_manager
|
|
profiles.sway
|
|
profiles.dnscrypt
|
|
profiles.gaming
|
|
|
|
home.gui
|
|
home.dev
|
|
home.network_manager
|
|
home.sway
|
|
home.vscode
|
|
];
|
|
|
|
networking.hostName = "lappy";
|
|
time.timeZone = "Europe/London";
|
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
|
|
|
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" ];
|
|
};
|
|
|
|
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";
|
|
}
|
|
|