add asusd for Tytonidae
This commit is contained in:
		
							parent
							
								
									263aca485e
								
							
						
					
					
						commit
						1e5ee9f41a
					
				
					 4 changed files with 26 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -40,6 +40,7 @@
 | 
			
		|||
      transmission.enable = true;
 | 
			
		||||
      nix-ld.enable = true;
 | 
			
		||||
      juicity.client.enable = true;
 | 
			
		||||
      asusd.enable = true;
 | 
			
		||||
    };
 | 
			
		||||
    gui.enabled = "niri";
 | 
			
		||||
  };
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -20,10 +20,10 @@
 | 
			
		|||
          }
 | 
			
		||||
        ];
 | 
			
		||||
        matchConfig.Name = "eno2";
 | 
			
		||||
        networkConfig = {
 | 
			
		||||
          DHCP = "yes";
 | 
			
		||||
          IPv6AcceptRA = true;
 | 
			
		||||
        };
 | 
			
		||||
        # networkConfig = {
 | 
			
		||||
        #   DHCP = "yes";
 | 
			
		||||
        #   IPv6AcceptRA = true;
 | 
			
		||||
        # };
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										20
									
								
								nixos/modules/programs/asusd.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								nixos/modules/programs/asusd.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,20 @@
 | 
			
		|||
{
 | 
			
		||||
  config,
 | 
			
		||||
  lib,
 | 
			
		||||
  ...
 | 
			
		||||
}:
 | 
			
		||||
let
 | 
			
		||||
  cfg = config.youthlic.programs.asusd;
 | 
			
		||||
in
 | 
			
		||||
{
 | 
			
		||||
  options = {
 | 
			
		||||
    youthlic.programs.asusd = {
 | 
			
		||||
      enable = lib.mkEnableOption "asusd";
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
  config = lib.mkIf cfg.enable {
 | 
			
		||||
    services.asusd = {
 | 
			
		||||
      enable = true;
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -21,5 +21,6 @@
 | 
			
		|||
    ./juicity
 | 
			
		||||
    ./miniflux.nix
 | 
			
		||||
    ./guix.nix
 | 
			
		||||
    ./asusd.nix
 | 
			
		||||
  ];
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue