hitagi: Remove virtualisation
This commit is contained in:
parent
764834c16f
commit
9724413740
|
@ -26,11 +26,6 @@
|
|||
wireguard.home.enable = true;
|
||||
};
|
||||
|
||||
virtualisation.libvirtd = {
|
||||
enable = true;
|
||||
qemu.package = pkgs.qemu_kvm;
|
||||
};
|
||||
|
||||
services.tor = {
|
||||
enable = true;
|
||||
client.enable = true;
|
||||
|
@ -40,35 +35,6 @@
|
|||
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";
|
||||
|
|
Loading…
Reference in a new issue