Files
dotfiles/hosts/satori/services.nix
Amneesh Singh 07325d0112 hosts/satori: changes
networking: change gateway cuz new router
graphics: use the stable nvidia drivers
misc changes

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2022-11-24 04:38:28 +05:30

29 lines
754 B
Nix

{ lib, config, pkgs, ... }:
{
services = {
tor.enable = true;
logmein-hamachi.enable = false;
openssh = {
enable = true;
permitRootLogin = "yes";
};
ratbagd.enable = true;
btrfs.autoScrub.enable = true;
udev.extraRules = ''
ACTION=="add|change", KERNEL=="sda", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="bfq"
'';
zfs.autoScrub.enable = true;
logind.extraConfig = "RuntimeDirectorySize=30%";
};
systemd.services.tor.wantedBy = lib.mkForce [ ];
systemd.enableUnifiedCgroupHierarchy = false;
security.pki.certificateFiles = [ ../../cert.pem ];
virtualisation.libvirtd = {
enable = true;
onBoot = "ignore";
onShutdown = "shutdown";
qemu.runAsRoot = true;
};
}