52 lines
1.2 KiB
Nix
Raw Normal View History

2021-03-17 23:06:52 +03:00
{ inputs, config, pkgs, ... }: {
2023-01-26 00:09:21 +03:00
imports = with inputs.self.customModules; [
2021-02-07 02:38:11 +03:00
./hardware-configuration.nix
2021-09-15 23:17:00 +03:00
inputs.self.nixosRoles.desktop
2021-02-07 02:38:11 +03:00
];
deviceSpecific.devInfo = {
cpu = {
vendor = "intel";
clock = 3600;
cores = 4;
};
drive = {
type = "ssd";
speed = 3000;
size = 250;
};
gpu = {
vendor = "intel";
};
bigScreen = false;
ram = 16;
2022-10-08 04:32:18 +03:00
fileSystem = "btrfs";
2021-02-07 02:38:11 +03:00
};
deviceSpecific.isHost = false;
deviceSpecific.isShared = false;
2021-03-17 23:06:52 +03:00
deviceSpecific.isGaming = true;
2022-09-23 21:26:59 +03:00
deviceSpecific.enableVirtualisation = true;
2023-01-26 00:15:51 +03:00
deviceSpecific.vpn.mullvad.enable = true;
2021-02-07 05:18:04 +03:00
boot.blacklistedKernelModules = [
"psmouse"
];
services.fwupd.enable = true;
2021-08-17 23:36:58 +03:00
systemd.services.unbind-usb2 = {
wantedBy = [ "multi-user.target" ];
serviceConfig = {
ExecStart = "${pkgs.coreutils}/bin/echo 'usb2' | ${pkgs.coreutils}/bin/tee /sys/bus/usb/drivers/usb/unbind";
Type = "oneshot";
};
};
2021-02-07 05:18:04 +03:00
# boot.kernelParams = lib.mkIf (device == "Dell-Laptop") [
# "mem_sleep_default=deep"
# ];
2022-12-07 22:05:00 +03:00
2022-12-10 22:34:39 +03:00
home-manager.users.${config.mainuser}.home.stateVersion = "21.11";
2022-12-07 22:05:00 +03:00
system.stateVersion = "21.11";
2021-02-07 02:38:11 +03:00
}