archachatina: i3, virtualbox, nix-serve

This commit is contained in:
Gabriel Ebner 2019-05-14 16:14:42 +02:00
parent 9a2584c22c
commit 63bf410b81

@ -3,8 +3,8 @@
{
imports =
[
# ./common.nix
./common-headless.nix ./sway.nix
./common.nix
# ./common-headless.nix ./sway.nix
./large-sw.nix
./uefi.nix
./fstrim.nix
@ -57,7 +57,7 @@
virtualisation.docker.enable = true;
users.extraUsers.gebner.extraGroups = [ "docker" "libvirtd" ];
# virtualisation.virtualbox.host.enable = true;
virtualisation.virtualbox.host.enable = true;
virtualisation.libvirtd = {
enable = true;
@ -72,11 +72,11 @@
hardware.opengl.driSupport32Bit = true;
# services.nix-serve = {
# enable = true;
# secretKeyFile = "/etc/nix-serve/secret.key";
# };
# networking.firewall.allowedTCPPorts = [ config.services.nix-serve.port ];
services.nix-serve = {
enable = true;
secretKeyFile = "/etc/nix-serve/secret.key";
};
networking.firewall.allowedTCPPorts = [ config.services.nix-serve.port ];
services.openssh.forwardX11 = true;
@ -108,6 +108,10 @@
services.ratbagd.enable = true;
# virtualisation.anbox = {
# enable = true;
# };
system.stateVersion = "18.03";
}