mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-25 02:14:41 +02: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
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