2021-12-20 23:48:26 +00:00
|
|
|
{ tree, config, pkgs, lib, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = with tree; [
|
2021-12-26 13:29:24 +00:00
|
|
|
users.chaoticryptidz
|
|
|
|
|
2021-12-20 23:48:26 +00:00
|
|
|
profiles.dev
|
|
|
|
profiles.gui
|
|
|
|
profiles.laptop
|
2021-12-26 12:38:23 +00:00
|
|
|
profiles.bluetooth
|
2021-12-20 23:48:26 +00:00
|
|
|
profiles.pulse
|
|
|
|
profiles.network_manager
|
2021-12-21 00:51:20 +00:00
|
|
|
profiles.sway
|
2021-12-21 01:40:42 +00:00
|
|
|
profiles.dnscrypt
|
2021-12-21 16:12:11 +00:00
|
|
|
profiles.gaming
|
2021-12-20 23:48:26 +00:00
|
|
|
];
|
|
|
|
|
2021-12-26 14:07:09 +00:00
|
|
|
config.home-manager.users.root = { imports = with tree; [ home.base ]; };
|
|
|
|
|
2021-12-26 13:29:24 +00:00
|
|
|
config.home-manager.users.chaoticryptidz = {
|
|
|
|
imports = with tree; [
|
2021-12-26 14:07:09 +00:00
|
|
|
home.base
|
2021-12-26 13:29:24 +00:00
|
|
|
home.gui
|
2021-12-26 14:07:09 +00:00
|
|
|
home.gaming
|
2021-12-26 13:29:24 +00:00
|
|
|
home.dev
|
|
|
|
home.network_manager
|
|
|
|
home.sway
|
2021-12-26 14:07:09 +00:00
|
|
|
home.reversing
|
|
|
|
home.programming
|
|
|
|
home.programming.languages.go
|
|
|
|
home.programming.languages.nix
|
2021-12-26 13:29:24 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
config.networking.hostName = "lappy";
|
|
|
|
config.time.timeZone = "Europe/London";
|
|
|
|
config.powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
2021-12-21 16:22:00 +00:00
|
|
|
|
2021-12-26 13:29:24 +00:00
|
|
|
config.boot = {
|
2021-12-20 23:48:26 +00:00
|
|
|
loader = {
|
|
|
|
systemd-boot.enable = true;
|
|
|
|
efi.canTouchEfiVariables = true;
|
|
|
|
};
|
2021-12-26 14:07:09 +00:00
|
|
|
initrd.availableKernelModules =
|
|
|
|
[ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
2021-12-20 23:48:26 +00:00
|
|
|
kernelModules = [ "kvm-intel" ];
|
|
|
|
};
|
|
|
|
|
2021-12-26 13:29:24 +00:00
|
|
|
config.fileSystems = {
|
2021-12-20 23:48:26 +00:00
|
|
|
"/" = {
|
|
|
|
device = "/dev/disk/by-uuid/491ec94c-5e6a-4d23-a2a6-bcf4971a6e7b";
|
|
|
|
fsType = "ext4";
|
|
|
|
};
|
|
|
|
"/boot" = {
|
|
|
|
device = "/dev/disk/by-uuid/61F3-FD84";
|
|
|
|
fsType = "vfat";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-12-26 13:29:24 +00:00
|
|
|
config.system.stateVersion = "21.11";
|
2021-12-20 23:48:26 +00:00
|
|
|
}
|
|
|
|
|