2021-12-27 09:46:15 +00:00
|
|
|
{ tree, config, pkgs, lib, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = with tree; [
|
2021-12-28 22:59:28 +00:00
|
|
|
users.root
|
2021-12-27 09:46:15 +00:00
|
|
|
users.chaoticryptidz
|
2021-12-28 22:59:28 +00:00
|
|
|
|
2021-12-27 09:46:15 +00:00
|
|
|
profiles.tailscale
|
|
|
|
profiles.gui
|
|
|
|
profiles.laptop
|
|
|
|
profiles.bluetooth
|
|
|
|
profiles.pulse
|
|
|
|
profiles.network_manager
|
|
|
|
profiles.sway
|
|
|
|
profiles.dnscrypt
|
2021-12-28 17:47:07 +00:00
|
|
|
#profiles.gaming
|
2021-12-27 12:07:49 +00:00
|
|
|
|
|
|
|
# for sci-hub and whenever websites break
|
2021-12-28 12:16:53 +00:00
|
|
|
profiles.tor
|
2021-12-28 22:59:28 +00:00
|
|
|
profiles.sshd
|
2021-12-27 09:46:15 +00:00
|
|
|
];
|
|
|
|
|
2021-12-28 22:59:28 +00:00
|
|
|
networking.firewall.enable = true;
|
|
|
|
|
2021-12-27 09:46:15 +00:00
|
|
|
home-manager.users.root = { imports = with tree; [ home.base ]; };
|
|
|
|
home-manager.users.chaoticryptidz = {
|
|
|
|
imports = with tree; [
|
|
|
|
home.base
|
|
|
|
home.bluetooth
|
|
|
|
home.gui
|
2021-12-28 17:47:07 +00:00
|
|
|
#home.gaming
|
2021-12-27 09:46:15 +00:00
|
|
|
home.dev
|
|
|
|
home.network_manager
|
|
|
|
home.sway
|
|
|
|
home.reversing
|
|
|
|
home.apps.vivaldi
|
|
|
|
home.apps.telegram
|
2021-12-28 17:47:07 +00:00
|
|
|
#home.apps.osu-lazer
|
2021-12-27 09:46:15 +00:00
|
|
|
home.programming
|
|
|
|
home.programming.languages.go
|
|
|
|
home.programming.languages.nix
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
networking.hostName = "lappy";
|
|
|
|
time.timeZone = "Europe/London";
|
|
|
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
|
|
|
|
|
|
|
services.fstrim.enable = true;
|
|
|
|
|
|
|
|
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-label/nixos";
|
|
|
|
fsType = "ext4";
|
|
|
|
};
|
|
|
|
"/boot" = {
|
|
|
|
device = "/dev/disk/by-label/nixboot";
|
|
|
|
fsType = "vfat";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
system.stateVersion = "21.11";
|
|
|
|
}
|
|
|
|
|