mirror of
				https://github.com/Stunkymonkey/nixos.git
				synced 2025-10-30 17:32:09 +01:00 
			
		
		
		
	extra/nautilus: make a separate file for all configurations
This commit is contained in:
		
							parent
							
								
									822afe8a11
								
							
						
					
					
						commit
						d7a5727602
					
				
					 2 changed files with 24 additions and 9 deletions
				
			
		|  | @ -3,9 +3,9 @@ let | |||
|   unstable = import <nixos-unstable> { config = { allowUnfree = true; }; }; | ||||
| in | ||||
| { | ||||
| 
 | ||||
|   imports = [ | ||||
|     ./fonts.nix | ||||
|     ./nautilus.nix | ||||
|   ]; | ||||
| 
 | ||||
|   programs.gnome-disks.enable = true; | ||||
|  | @ -19,12 +19,7 @@ in | |||
|   # gnome services | ||||
|   services.dbus.packages = [ pkgs.gnome.dconf ]; | ||||
|   services.udev.packages = [ pkgs.gnome.gnome-settings-daemon ]; | ||||
|   services.gnome = { | ||||
|     gnome-keyring.enable = true; | ||||
|     glib-networking.enable = true; # network-mount | ||||
|   }; | ||||
|   # enable trash & network-mount | ||||
|   services.gvfs.enable = true; | ||||
|   services.gnome.gnome-keyring.enable = true; | ||||
| 
 | ||||
|   environment.systemPackages = with pkgs; [ | ||||
|     adwaita-qt | ||||
|  | @ -43,7 +38,6 @@ in | |||
|     gnome.file-roller | ||||
|     gnome.gnome-calendar | ||||
|     gnome.gnome-system-monitor | ||||
|     gnome.nautilus | ||||
|     gnome.simple-scan | ||||
|     keepassxc | ||||
|     keychain | ||||
|  | @ -59,7 +53,6 @@ in | |||
|     qgnomeplatform | ||||
|     rhythmbox | ||||
|     simple-scan | ||||
|     #spotify | ||||
|     socat | ||||
|     sshuttle | ||||
|     tdesktop | ||||
|  |  | |||
							
								
								
									
										22
									
								
								extra/nautilus.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								extra/nautilus.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,22 @@ | |||
| { config, lib, pkgs, ... }: | ||||
| let | ||||
|   unstable = import <nixos-unstable> { config = { allowUnfree = true; }; }; | ||||
| in | ||||
| { | ||||
|   # enable trash & network-mount | ||||
|   services.gvfs.enable = true; | ||||
| 
 | ||||
|   environment.sessionVariables.NAUTILUS_EXTENSION_DIR = "${config.system.path}/lib/nautilus/extensions-3.0"; | ||||
|   environment.pathsToLink = [ | ||||
|     "/share/nautilus-python/extensions" | ||||
|   ]; | ||||
| 
 | ||||
|   services.gnome.glib-networking.enable = true; # network-mount | ||||
| 
 | ||||
|   environment.systemPackages = with pkgs; [ | ||||
|     gnome.nautilus | ||||
|     gnome.nautilus-python | ||||
|     shared-mime-info | ||||
|     unstable.nautilus-open-any-terminal | ||||
|   ]; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Felix Buehler
						Felix Buehler