polkit: properly enable it and enable gnome-keyring
This commit is contained in:
		
							parent
							
								
									11783be637
								
							
						
					
					
						commit
						831faf1296
					
				
					 2 changed files with 13 additions and 0 deletions
				
			
		| 
						 | 
					@ -22,6 +22,7 @@ in
 | 
				
			||||||
    ./hardware-configuration.nix
 | 
					    ./hardware-configuration.nix
 | 
				
			||||||
    # Include service configuration
 | 
					    # Include service configuration
 | 
				
			||||||
    ./services/archi.nix
 | 
					    ./services/archi.nix
 | 
				
			||||||
 | 
					    ./services/authentication.nix
 | 
				
			||||||
    ./services/caddy.nix
 | 
					    ./services/caddy.nix
 | 
				
			||||||
    ./services/forgejo.nix
 | 
					    ./services/forgejo.nix
 | 
				
			||||||
    ./services/jellyfin.nix
 | 
					    ./services/jellyfin.nix
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										12
									
								
								services/authentication.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								services/authentication.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,12 @@
 | 
				
			||||||
 | 
					{ pkgs, ... }:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					  # Enable polkit,
 | 
				
			||||||
 | 
					  security.polkit.enable = true;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  # Install an agent to interface with it.
 | 
				
			||||||
 | 
					  environment.systemPackages = with pkgs; [ polkit_gnome ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  # And enable GNOME keyring for registering keys.
 | 
				
			||||||
 | 
					  services.gnome.gnome-keyring.enable = true;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue