satori: enable docker
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
		@@ -34,7 +34,7 @@
 | 
			
		||||
          presence-nvim
 | 
			
		||||
          nvim-web-devicons
 | 
			
		||||
          nvim-tree-lua
 | 
			
		||||
          (nvim-treesitter.withPlugins (plugins: pkgs.tree-sitter.allGrammars))
 | 
			
		||||
          nvim-treesitter
 | 
			
		||||
          vim-latex-live-preview
 | 
			
		||||
          lspkind-nvim
 | 
			
		||||
          catppuccin-nvim
 | 
			
		||||
 
 | 
			
		||||
@@ -13,7 +13,7 @@
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    firewall = {
 | 
			
		||||
      allowedTCPPorts = [ 22 18172 6600 8001 25565 ];
 | 
			
		||||
      allowedTCPPorts = [ 22 18172 6600 8001 7590 25565 ];
 | 
			
		||||
      allowedUDPPorts = [ 22 17840 18172 ];
 | 
			
		||||
      trustedInterfaces = [ "docker0" ];
 | 
			
		||||
    };
 | 
			
		||||
 
 | 
			
		||||
@@ -5,7 +5,7 @@
 | 
			
		||||
    tor.enable = true;
 | 
			
		||||
    openssh = {
 | 
			
		||||
      enable = true;
 | 
			
		||||
      settings.permitRootLogin = "yes";
 | 
			
		||||
      settings.PermitRootLogin = "yes";
 | 
			
		||||
    };
 | 
			
		||||
    ratbagd.enable = true;
 | 
			
		||||
    btrfs.autoScrub.enable = true;
 | 
			
		||||
@@ -28,10 +28,17 @@
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  security.pki.certificateFiles = [ ../../cert.pem ];
 | 
			
		||||
  virtualisation.libvirtd = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    onBoot = "ignore";
 | 
			
		||||
    onShutdown = "shutdown";
 | 
			
		||||
    qemu.runAsRoot = true;
 | 
			
		||||
  virtualisation = {
 | 
			
		||||
    docker = {
 | 
			
		||||
      enable = true;
 | 
			
		||||
      enableNvidia = true;
 | 
			
		||||
      autoPrune.enable = true;
 | 
			
		||||
    };
 | 
			
		||||
    libvirtd = {
 | 
			
		||||
      enable = true;
 | 
			
		||||
      onBoot = "ignore";
 | 
			
		||||
      onShutdown = "shutdown";
 | 
			
		||||
      qemu.runAsRoot = true;
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user