nixos-config/machines/hitagi/configuration.nix
Simon Bruder 4d99a4a232
hitagi: Disable corectrl
I renewed the thermal paste on its GPU and replaced the stock fan with
two Noctua NF-A9 PWM that are controlled via the mainboard’s fan headers
(connected via a Y splitter), so corectrl is no longer necessary.
2023-01-01 03:01:04 +01:00

76 lines
1.5 KiB
Nix

{ config, lib, pkgs, ... }:
{
imports = [
./hardware-configuration.nix
../../modules
../../users/simon
];
sbruder = {
games = {
enable = true;
performanceIndex = 8;
};
gui.enable = true;
media-proxy.enable = true;
mullvad.enable = true;
restic.system = {
enable = true;
uploadLimit = 1500;
extraPaths = [
"/data"
];
};
unfree.allowSoftware = true;
wireguard.home.enable = true;
};
virtualisation.libvirtd = {
enable = true;
qemu.package = pkgs.qemu_kvm;
};
services.tor = {
enable = true;
client.enable = true;
};
services.privoxy = {
enable = true;
enableTor = true;
};
services.samba = {
enable = true;
securityType = "user";
extraConfig = ''
interfaces = 192.168.122.1
bind interfaces only = yes
map to guest = bad user
load printers = no
printing = bsd
disable spoolss = yes
usershare max shares = 0
acl allow execute always = True
'';
shares = {
qemu = {
path = "/data/cache/win10/shared";
browseable = "yes";
"read only" = "no";
"guest ok" = "yes";
"force user" = "simon";
};
};
};
networking.firewall.trustedInterfaces = [ "virbr0" ];
systemd.services.samba-nmbd = {
wants = [ "libvirtd.service" ];
after = [ "libvirtd.service" ];
};
networking.hostName = "hitagi";
system.stateVersion = "20.03";
}