48 lines
1018 B
Nix
48 lines
1018 B
Nix
{ config, inputs, ... }: {
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
inputs.self.nixosRoles.desktop
|
|
inputs.self.nixosProfiles.print-scan
|
|
inputs.self.nixosProfiles.aws
|
|
];
|
|
deviceSpecific.devInfo = {
|
|
cpu = {
|
|
vendor = "amd";
|
|
clock = 4200;
|
|
cores = 8;
|
|
};
|
|
drive = {
|
|
type = "ssd";
|
|
speed = 6000;
|
|
size = 250;
|
|
};
|
|
bigScreen = true;
|
|
ram = 32;
|
|
};
|
|
deviceSpecific.isHost = true;
|
|
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
|
|
|
|
services.apcupsd = {
|
|
enable = false;
|
|
configText = ''
|
|
UPSTYPE usb
|
|
NISIP 127.0.0.1
|
|
BATTERYLEVEL 10
|
|
MINUTES 1
|
|
'';
|
|
};
|
|
|
|
secrets.wireguard-wg0 = { };
|
|
|
|
environment.sessionVariables.WINEPREFIX = "/home/balsoft/.local/share/wineprefixes/default";
|
|
|
|
persist = {
|
|
enable = true;
|
|
cache.clean.enable = false; # Scary...
|
|
|
|
state.directories = [ "/home/balsoft/.local/share/Steam" ];
|
|
|
|
derivative.directories = [ "/home/balsoft/.local/share/wineprefixes/default" ];
|
|
};
|
|
}
|