misc changes
Old changes I never committed
This commit is contained in:
		
							parent
							
								
									a1ec586d7e
								
							
						
					
					
						commit
						2084da9ff4
					
				
					 4 changed files with 45 additions and 12 deletions
				
			
		| 
						 | 
				
			
			@ -27,6 +27,18 @@ in {
 | 
			
		|||
      mutableSettings = true;
 | 
			
		||||
      host = "0.0.0.0";
 | 
			
		||||
      port = 3000;
 | 
			
		||||
      settings = {
 | 
			
		||||
        filtering.rewrites = [
 | 
			
		||||
          {
 | 
			
		||||
            domain = "adguardhome.kilonull.com";
 | 
			
		||||
            answer = "192.168.113.13";
 | 
			
		||||
          }
 | 
			
		||||
          {
 | 
			
		||||
            domain = "*.kilonull.com";
 | 
			
		||||
            answer = "192.168.113.13";
 | 
			
		||||
          }
 | 
			
		||||
        ];
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    services.nginx = {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -34,7 +34,6 @@
 | 
			
		|||
    services.tailscale = {
 | 
			
		||||
      enable = true;
 | 
			
		||||
      configureClientRouting = true;
 | 
			
		||||
      configureServerRouting = true;
 | 
			
		||||
    };
 | 
			
		||||
    services.openssh.enable = true;
 | 
			
		||||
    services.octoprint = {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -71,16 +71,24 @@
 | 
			
		|||
    system.monitoring.enable = true;
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  virtualisation.docker = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    storageDriver = "overlay2";
 | 
			
		||||
    rootless = {
 | 
			
		||||
  programs.adb.enable = true;
 | 
			
		||||
 | 
			
		||||
  virtualisation = {
 | 
			
		||||
    libvirtd.enable = true;
 | 
			
		||||
 | 
			
		||||
    docker = {
 | 
			
		||||
      enable = true;
 | 
			
		||||
      setSocketVariable = true;
 | 
			
		||||
      storageDriver = "overlay2";
 | 
			
		||||
      rootless = {
 | 
			
		||||
        enable = true;
 | 
			
		||||
        setSocketVariable = true;
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  # boot.binfmt.emulatedSystems = ["aarch64-linux" "armv6l-linux"];
 | 
			
		||||
  programs.virt-manager.enable = true;
 | 
			
		||||
 | 
			
		||||
  boot.binfmt.emulatedSystems = ["aarch64-linux" "armv6l-linux"];
 | 
			
		||||
  networking = {
 | 
			
		||||
    hostName = "gospel";
 | 
			
		||||
    useDHCP = false;
 | 
			
		||||
| 
						 | 
				
			
			@ -106,6 +114,9 @@
 | 
			
		|||
 | 
			
		||||
    cryptsetup
 | 
			
		||||
    paperkey
 | 
			
		||||
 | 
			
		||||
    chromium
 | 
			
		||||
 | 
			
		||||
    unzip
 | 
			
		||||
    p7zip
 | 
			
		||||
    nix-index
 | 
			
		||||
| 
						 | 
				
			
			@ -116,6 +127,21 @@
 | 
			
		|||
    esptool
 | 
			
		||||
    minicom
 | 
			
		||||
    signal-desktop
 | 
			
		||||
    ncdu
 | 
			
		||||
 | 
			
		||||
    cntr
 | 
			
		||||
 | 
			
		||||
    bundler
 | 
			
		||||
    bundix
 | 
			
		||||
    nix-output-monitor
 | 
			
		||||
 | 
			
		||||
    iw
 | 
			
		||||
    wpa_supplicant
 | 
			
		||||
 | 
			
		||||
    mqttui
 | 
			
		||||
    openscad
 | 
			
		||||
 | 
			
		||||
    zoom-us
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  # This value determines the NixOS release from which the default
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,8 +1,4 @@
 | 
			
		|||
{
 | 
			
		||||
  config,
 | 
			
		||||
  pkgs,
 | 
			
		||||
  ...
 | 
			
		||||
}: {
 | 
			
		||||
{config, ...}: {
 | 
			
		||||
  boot.supportedFilesystems = ["zfs"];
 | 
			
		||||
  networking.hostId = "f8616592";
 | 
			
		||||
  boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue