53 lines
1.1 KiB
Nix
53 lines
1.1 KiB
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 = true;
|
|
configText = ''
|
|
UPSTYPE usb
|
|
NISIP 127.0.0.1
|
|
BATTERYLEVEL 10
|
|
MINUTES 1
|
|
'';
|
|
};
|
|
|
|
secrets.wireguard-wg0 = { };
|
|
|
|
environment.sessionVariables.WINEPREFIX = "/home/balsoft/.local/share/wineprefixes/default";
|
|
|
|
services.bt-agent = {
|
|
enable = true;
|
|
capability = "NoInputNoOutput";
|
|
};
|
|
|
|
persist = {
|
|
enable = true;
|
|
cache.clean.enable = false; # Scary...
|
|
|
|
state.directories = [ "/home/balsoft/.local/share/Steam" ];
|
|
|
|
derivative.directories = [ "/home/balsoft/.local/share/wineprefixes/default" ];
|
|
};
|
|
}
|