2022-09-23 21:26:59 +03:00
|
|
|
{ inputs, config, lib, pkgs, ... }: {
|
2021-02-07 02:38:11 +03:00
|
|
|
imports = [
|
|
|
|
./hardware-configuration.nix
|
2021-11-05 21:45:23 +03:00
|
|
|
inputs.self.nixosRoles.workstation
|
2021-02-07 02:38:11 +03:00
|
|
|
];
|
2021-09-15 15:41:21 +03:00
|
|
|
|
2021-02-07 02:38:11 +03:00
|
|
|
deviceSpecific.devInfo = {
|
|
|
|
cpu = {
|
|
|
|
vendor = "amd";
|
|
|
|
clock = 3700;
|
|
|
|
cores = 6;
|
|
|
|
};
|
|
|
|
drive = {
|
|
|
|
type = "ssd";
|
|
|
|
speed = 6000;
|
|
|
|
size = 1000;
|
|
|
|
};
|
|
|
|
gpu = {
|
|
|
|
vendor = "amd";
|
|
|
|
};
|
|
|
|
bigScreen = true;
|
2022-10-08 04:32:18 +03:00
|
|
|
ram = 48;
|
|
|
|
fileSystem = "zfs";
|
2021-02-07 02:38:11 +03:00
|
|
|
};
|
|
|
|
deviceSpecific.isHost = true;
|
|
|
|
deviceSpecific.isShared = false;
|
|
|
|
deviceSpecific.isGaming = true;
|
|
|
|
deviceSpecific.enableVirtualisation = true;
|
2021-06-16 23:42:44 +03:00
|
|
|
deviceSpecific.wireguard.enable = true;
|
2021-09-15 15:41:21 +03:00
|
|
|
|
2022-10-21 14:00:16 +03:00
|
|
|
boot.zfs.forceImportAll = lib.mkForce false;
|
|
|
|
|
2021-09-15 15:41:21 +03:00
|
|
|
hardware.video.hidpi.enable = lib.mkForce false;
|
2022-08-23 16:13:51 +03:00
|
|
|
hardware.firmware = [ pkgs.rtl8761b-firmware ];
|
2022-08-31 01:13:53 +03:00
|
|
|
|
|
|
|
home-manager.users.alukard.home.packages = lib.mkIf config.deviceSpecific.enableVirtualisation [
|
|
|
|
inputs.nixos-generators.packages.${pkgs.system}.nixos-generators
|
|
|
|
];
|
2021-02-07 02:38:11 +03:00
|
|
|
}
|