archachatina: i3, virtualbox, nix-serve
This commit is contained in:
		
							parent
							
								
									9a2584c22c
								
							
						
					
					
						commit
						63bf410b81
					
				@ -3,8 +3,8 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
  imports =
 | 
					  imports =
 | 
				
			||||||
    [
 | 
					    [
 | 
				
			||||||
      # ./common.nix
 | 
					      ./common.nix
 | 
				
			||||||
      ./common-headless.nix ./sway.nix
 | 
					      # ./common-headless.nix ./sway.nix
 | 
				
			||||||
      ./large-sw.nix
 | 
					      ./large-sw.nix
 | 
				
			||||||
      ./uefi.nix
 | 
					      ./uefi.nix
 | 
				
			||||||
      ./fstrim.nix
 | 
					      ./fstrim.nix
 | 
				
			||||||
@ -57,7 +57,7 @@
 | 
				
			|||||||
  virtualisation.docker.enable = true;
 | 
					  virtualisation.docker.enable = true;
 | 
				
			||||||
  users.extraUsers.gebner.extraGroups = [ "docker" "libvirtd" ];
 | 
					  users.extraUsers.gebner.extraGroups = [ "docker" "libvirtd" ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # virtualisation.virtualbox.host.enable = true;
 | 
					  virtualisation.virtualbox.host.enable = true;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  virtualisation.libvirtd = {
 | 
					  virtualisation.libvirtd = {
 | 
				
			||||||
    enable = true;
 | 
					    enable = true;
 | 
				
			||||||
@ -72,11 +72,11 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  hardware.opengl.driSupport32Bit = true;
 | 
					  hardware.opengl.driSupport32Bit = true;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # services.nix-serve = {
 | 
					  services.nix-serve = {
 | 
				
			||||||
  #   enable = true;
 | 
					    enable = true;
 | 
				
			||||||
  #   secretKeyFile = "/etc/nix-serve/secret.key";
 | 
					    secretKeyFile = "/etc/nix-serve/secret.key";
 | 
				
			||||||
  # };
 | 
					  };
 | 
				
			||||||
  # networking.firewall.allowedTCPPorts = [ config.services.nix-serve.port ];
 | 
					  networking.firewall.allowedTCPPorts = [ config.services.nix-serve.port ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  services.openssh.forwardX11 = true;
 | 
					  services.openssh.forwardX11 = true;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -108,6 +108,10 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  services.ratbagd.enable = true;
 | 
					  services.ratbagd.enable = true;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  # virtualisation.anbox = {
 | 
				
			||||||
 | 
					  #   enable = true;
 | 
				
			||||||
 | 
					  # };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  system.stateVersion = "18.03";
 | 
					  system.stateVersion = "18.03";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user