54 lines
1.3 KiB
Nix
Raw Normal View History

2023-04-16 18:59:54 +03:00
{ inputs, config, lib, pkgs, ... }: {
imports = with inputs.self; [
./boot.nix
./hardware-configuration.nix
2023-10-13 19:43:02 +03:00
customRoles.desktop
2023-08-05 07:42:57 +03:00
2023-10-13 19:43:02 +03:00
customProfiles.bluetooth
2023-04-16 18:59:54 +03:00
];
deviceSpecific.devInfo = {
2024-01-21 19:29:36 +03:00
cpu.vendor = "intel";
drive.type = "ssd";
gpu.vendor = "intel";
2023-04-16 18:59:54 +03:00
ram = 16;
fileSystem = "zfs";
};
deviceSpecific.isGaming = false;
deviceSpecific.enableVirtualisation = true;
2023-07-05 20:42:56 +03:00
deviceSpecific.vpn.tailscale.enable = true;
secrets.wg-dell.services = [ "wg-quick-wg0.service" ];
2023-08-11 11:02:05 +03:00
networking.wg-quick.interfaces.wg0.autostart = false;
2023-07-05 20:42:56 +03:00
networking.wg-quick.interfaces.wg0.configFile = config.secrets.wg-dell.decrypted;
2023-04-16 18:59:54 +03:00
boot.blacklistedKernelModules = [
"psmouse"
];
services.fwupd.enable = true;
2023-04-17 00:03:34 +03:00
services.tlp = {
enable = true;
settings = {
TLP_DEFAULT_MODE = "BAT";
TLP_PERSISTENT_DEFAULT = 1;
CPU_SCALING_GOVERNOR_ON_AC = "powersave";
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
CPU_BOOST_ON_AC = 1;
CPU_BOOST_ON_BAT = 0;
};
};
2023-04-16 18:59:54 +03:00
boot.kernelParams = [ "mem_sleep_default=deep" ];
2023-09-16 00:53:11 +03:00
persist.state.homeDirectories = [ ".config/Moonlight Game Streaming Project" ];
2023-04-16 18:59:54 +03:00
home-manager.users.${config.mainuser} = {
2023-09-16 00:53:11 +03:00
home.packages = [
pkgs.moonlight-qt
];
2023-04-16 18:59:54 +03:00
home.stateVersion = "23.05";
};
system.stateVersion = "23.05";
2023-08-05 07:42:57 +03:00
}