From c11f434e72bcad0fe23e8fba6d8c8d5fe5f2efc7 Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Mon, 9 Jan 2023 19:10:17 -0800 Subject: [PATCH] Add archive tools, open folders in nautilus --- hosts/home.nix | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/hosts/home.nix b/hosts/home.nix index 2c820ce..b3cff1c 100644 --- a/hosts/home.nix +++ b/hosts/home.nix @@ -19,7 +19,18 @@ in home.file."./.background-image".source = ../wallpapers/${colors.wallpaper}; programs.home-manager.enable = true; - + + xdg.mimeApps = { + enable = true; + defaultApplications = { + # Make sure directories are opened in nautilus + # .desktop files can be found in /etc/profiles/per-user/elnu/share/applications + # mimetypes can be found with the mimetype command: + # nix-shell -p perl536Packages.FileMimeInfo + "inode/directory" = "org.gnome.Nautilus.desktop"; + }; + }; + gtk = { enable = true; iconTheme = colors.gtkIconTheme pkgs; @@ -57,6 +68,7 @@ in fortune killall trash-cli # aliased to rm in .bashrc + unzip # Tray applications networkmanagerapplet # nm-applet @@ -67,6 +79,7 @@ in firefox discord gnome.nautilus + gnome.file-roller #gimp #krita #musescore