34
hosts/okina/services.nix
Normal file
34
hosts/okina/services.nix
Normal file
@@ -0,0 +1,34 @@
|
||||
{ lib, config, pkgs, ... }:
|
||||
{
|
||||
services = {
|
||||
openssh = {
|
||||
enable = true;
|
||||
settings.PermitRootLogin = "yes";
|
||||
};
|
||||
ratbagd.enable = true;
|
||||
btrfs.autoScrub.enable = true;
|
||||
gvfs.enable = true;
|
||||
logind.extraConfig = "RuntimeDirectorySize=30%";
|
||||
printing = {
|
||||
enable = true;
|
||||
drivers = [ pkgs.hplip ];
|
||||
};
|
||||
};
|
||||
|
||||
systemd.services = {
|
||||
libvirtd.wantedBy = lib.mkForce [ ];
|
||||
};
|
||||
|
||||
security.pki.certificateFiles = [ ../../cert.pem ];
|
||||
virtualisation = {
|
||||
docker = {
|
||||
enable = true;
|
||||
};
|
||||
libvirtd = {
|
||||
enable = true;
|
||||
onBoot = "ignore";
|
||||
onShutdown = "shutdown";
|
||||
qemu.runAsRoot = true;
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user