nixos-config/machines/AMD-Workstation/default.nix

53 lines
1.1 KiB
Nix
Raw Normal View History

2021-03-18 14:03:09 +04:00
{ config, inputs, ... }: {
2021-01-22 21:44:23 +04:00
imports = [
2021-01-22 00:19:07 +04:00
./hardware-configuration.nix
2021-06-24 12:41:17 +04:00
inputs.self.nixosRoles.desktop
inputs.self.nixosProfiles.print-scan
inputs.self.nixosProfiles.aws
2021-01-22 00:19:07 +04:00
];
2021-01-21 22:13:53 +04:00
deviceSpecific.devInfo = {
cpu = {
vendor = "amd";
clock = 4200;
cores = 8;
};
drive = {
type = "ssd";
speed = 6000;
size = 250;
};
bigScreen = true;
ram = 32;
};
2021-02-01 20:54:45 +04:00
deviceSpecific.isHost = true;
2021-01-26 23:07:06 +04:00
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
2021-03-18 14:03:09 +04:00
2021-12-05 16:02:29 +04:00
services.apcupsd = {
2021-12-05 16:12:20 +04:00
enable = true;
2021-12-05 16:02:29 +04:00
configText = ''
UPSTYPE usb
NISIP 127.0.0.1
BATTERYLEVEL 10
MINUTES 1
'';
};
2021-03-27 13:32:40 +04:00
secrets.wireguard-wg0 = { };
2021-03-18 14:03:09 +04:00
environment.sessionVariables.WINEPREFIX = "/home/balsoft/.local/share/wineprefixes/default";
2022-02-04 13:56:03 +04:00
services.bt-agent = {
enable = true;
capability = "NoInputNoOutput";
};
2021-06-08 20:52:32 +04:00
persist = {
enable = true;
cache.clean.enable = false; # Scary...
state.directories = [ "/home/balsoft/.local/share/Steam" ];
derivative.directories = [ "/home/balsoft/.local/share/wineprefixes/default" ];
2021-06-08 20:52:32 +04:00
};
2021-01-21 22:13:53 +04:00
}