18 lines
		
	
	
	
		
			307 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			307 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ lib, config, ... }:
 | 
						|
 | 
						|
let
 | 
						|
  inherit (lib) mkIf;
 | 
						|
  host = config.systemModules.host;
 | 
						|
in
 | 
						|
 | 
						|
{
 | 
						|
  config = mkIf (host.type != "phone") {
 | 
						|
    programs = {
 | 
						|
      _1password.enable = true;
 | 
						|
      _1password-gui = {
 | 
						|
        enable = true;
 | 
						|
        polkitPolicyOwners = [ "${host.admin.name}" ];
 | 
						|
      };
 | 
						|
    };
 | 
						|
  };
 | 
						|
}
 |