mirror of
				https://github.com/materusPL/nixos-config
				synced 2025-11-04 06:20:27 +01:00 
			
		
		
		
	Compare commits
	
		
			2 Commits
		
	
	
		
			1091489449
			...
			65492a133e
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 65492a133e | |||
| 15babc1afd | 
@ -144,6 +144,18 @@ in
 | 
			
		||||
    description = "Mateusz Słodkowicz";
 | 
			
		||||
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  virtualisation.libvirtd = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    onBoot = "ignore";
 | 
			
		||||
    onShutdown = "shutdown";
 | 
			
		||||
    qemu.ovmf.enable = true;
 | 
			
		||||
    qemu.ovmf.packages = [ pkgs.OVMFFull.fd ];
 | 
			
		||||
    qemu.runAsRoot = true;
 | 
			
		||||
    qemu.swtpm.enable = true;
 | 
			
		||||
    qemu.package = pkgs.qemu_full;
 | 
			
		||||
  };
 | 
			
		||||
  
 | 
			
		||||
  environment.sessionVariables = rec {
 | 
			
		||||
    XDG_CACHE_HOME = "\${HOME}/.cache";
 | 
			
		||||
    XDG_CONFIG_HOME = "\${HOME}/.config";
 | 
			
		||||
 | 
			
		||||
@ -42,7 +42,7 @@
 | 
			
		||||
        persistent-keepalive = "20";
 | 
			
		||||
      };
 | 
			
		||||
      ipv4 = {
 | 
			
		||||
        address1 = "${materusArg.ips.wireguard.Old-materusPC}/23";
 | 
			
		||||
        address1 = "${materusArg.ips.wireguard.Old-materusPC}/32";
 | 
			
		||||
        dns = "${materusArg.ips.wireguard.valkyrie};";
 | 
			
		||||
        method = "manual";
 | 
			
		||||
        never-default = "true";
 | 
			
		||||
 | 
			
		||||
@ -26,7 +26,7 @@
 | 
			
		||||
  networking.firewall.allowedTCPPorts = [ 
 | 
			
		||||
    24800 5900 5357 4656 8080 9943 9944 
 | 
			
		||||
    22000 config.services.syncthing.relay.statusPort config.services.syncthing.relay.port # Syncthing
 | 
			
		||||
    26656 8100 # Minecraft + BlueMap 
 | 
			
		||||
    25565 8100 # Minecraft + BlueMap 
 | 
			
		||||
  ];
 | 
			
		||||
  networking.firewall.allowedUDPPorts = [ (lib.strings.toInt materusArg.wireguard.port) 
 | 
			
		||||
    24800 5900 3702 4656 6000 9943 9944 
 | 
			
		||||
@ -60,7 +60,7 @@
 | 
			
		||||
        persistent-keepalive = "20";
 | 
			
		||||
      };
 | 
			
		||||
      ipv4 = {
 | 
			
		||||
        address1 = "${materusArg.ips.wireguard.materusPC}/23";
 | 
			
		||||
        address1 = "${materusArg.ips.wireguard.materusPC}/32";
 | 
			
		||||
        dns = "${materusArg.ips.wireguard.valkyrie};";
 | 
			
		||||
        method = "manual";
 | 
			
		||||
        never-default = "true";
 | 
			
		||||
 | 
			
		||||
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user