nixfiles/hosts/lappy.nix
2021-12-26 14:07:09 +00:00

63 lines
1.3 KiB
Nix

{ tree, config, pkgs, lib, ... }:
{
imports = with tree; [
users.chaoticryptidz
profiles.dev
profiles.gui
profiles.laptop
profiles.bluetooth
profiles.pulse
profiles.network_manager
profiles.sway
profiles.dnscrypt
profiles.gaming
];
config.home-manager.users.root = { imports = with tree; [ home.base ]; };
config.home-manager.users.chaoticryptidz = {
imports = with tree; [
home.base
home.gui
home.gaming
home.dev
home.network_manager
home.sway
home.reversing
home.programming
home.programming.languages.go
home.programming.languages.nix
];
};
config.networking.hostName = "lappy";
config.time.timeZone = "Europe/London";
config.powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
config.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" ];
};
config.fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/491ec94c-5e6a-4d23-a2a6-bcf4971a6e7b";
fsType = "ext4";
};
"/boot" = {
device = "/dev/disk/by-uuid/61F3-FD84";
fsType = "vfat";
};
};
config.system.stateVersion = "21.11";
}