48 lines
1017 B
Nix
Raw Normal View History

2021-03-18 13:03:09 +03:00
{ config, inputs, ... }: {
2021-01-22 20:44:23 +03:00
imports = [
2021-01-21 23:19:07 +03:00
./hardware-configuration.nix
2021-06-24 11:41:17 +03:00
inputs.self.nixosRoles.desktop
inputs.self.nixosProfiles.print-scan
inputs.self.nixosProfiles.aws
2021-01-21 23:19:07 +03:00
];
2021-01-21 21:13:53 +03:00
deviceSpecific.devInfo = {
cpu = {
vendor = "amd";
clock = 4200;
cores = 8;
};
drive = {
type = "ssd";
speed = 6000;
size = 250;
};
bigScreen = true;
ram = 32;
};
2021-02-01 19:54:45 +03:00
deviceSpecific.isHost = true;
2021-01-26 22:07:06 +03:00
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
2021-03-18 13:03:09 +03:00
2021-12-05 15:02:29 +03:00
services.apcupsd = {
2021-12-05 15:12:20 +03:00
enable = true;
2021-12-05 15:02:29 +03:00
configText = ''
UPSTYPE usb
NISIP 127.0.0.1
BATTERYLEVEL 10
MINUTES 1
'';
};
2021-03-27 12:32:40 +03:00
secrets.wireguard-wg0 = { };
2021-03-18 13:03:09 +03:00
environment.sessionVariables.WINEPREFIX = "/home/balsoft/.local/share/wineprefixes/default";
2021-06-08 19:52:32 +03: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 19:52:32 +03:00
};
2021-01-21 21:13:53 +03:00
}