Files
dotfiles/hosts/satori/services.nix
Amneesh Singh d13815136b regulatory updates
home/natto/programs/emacs: update config to use org-babel and some other keybind related changes
hosts/satori: misc changes
modules/graphics: dont use the vulkan layer override for mesa

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2022-04-27 01:16:54 +05:30

26 lines
640 B
Nix

{ lib, config, pkgs, ... }:
{
services = {
tor.enable = true;
logmein-hamachi.enable = true;
openssh = {
enable = true;
permitRootLogin = "yes";
};
btrfs.autoScrub.enable = true;
udev.extraRules = ''
ACTION=="add|change", KERNEL=="sda", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="bfq"
'';
};
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;
};
}