From 73b60d27412442df39aaacfe29ed9d5a2be1bb05 Mon Sep 17 00:00:00 2001 From: ChUrl Date: Thu, 25 May 2023 00:17:49 +0200 Subject: [PATCH] Move desktop icon to nnn module --- home/christoph/default.nix | 22 ---------------------- home/modules/nnn/default.nix | 12 ++++++++++++ 2 files changed, 12 insertions(+), 22 deletions(-) diff --git a/home/christoph/default.nix b/home/christoph/default.nix index a0ca67be..af1963c3 100644 --- a/home/christoph/default.nix +++ b/home/christoph/default.nix @@ -182,15 +182,6 @@ rec { manual.manpages.enable = true; manual.html.enable = true; - # TODO: Gnome terminal config - # TODO: Store the external binaries for my derivations in GitHub LFS (Vital, NeuralDSP, other plugins etc.) - # TODO: Derivations for bottles like UPlay, NeuralDSP, LoL (don't know what is possible with bottles-cli though) - # TODO: When bottles derivations are there remove the bottles option from audio/gaming module and assert that bottles is enabled in flatpak module - - # TODO: Remove Plasma, only use Hyprland - # TODO: I need to pack all Plasma/Hyprland/Gnome related stuff into their respective modules - # TODO: Then it should only be possible to activate one Desktop at a time - # Make fonts installed through user packages available to applications # NOTE: I don't think I need this anymore as all fonts are installed through the system config but let's keep this just in case fonts.fontconfig.enable = true; # Also updates the font-cache @@ -235,19 +226,6 @@ rec { defaultApplications = nixosConfig.xdg.mime.defaultApplications; }; - # TODO: NNN module - xdg.desktopEntries.nnn = { - type = "Application"; - name = "nnn"; - comment = "Terminal file manager"; - exec = "nnn"; - terminal = true; - icon = "nnn"; - mimeType = ["inode/directory"]; - categories = ["System" "FileTools" "FileManager" "ConsoleOnly"]; - # keywords = ["File" "Manager" "Management" "Explorer" "Launcher"]; - }; - home = { username = username; # Inherited from flake.nix homeDirectory = "/home/${home.username}"; diff --git a/home/modules/nnn/default.nix b/home/modules/nnn/default.nix index 0318be66..26883107 100644 --- a/home/modules/nnn/default.nix +++ b/home/modules/nnn/default.nix @@ -61,5 +61,17 @@ in { + "/plugins"; }; }; + + xdg.desktopEntries.nnn = { + type = "Application"; + name = "nnn"; + comment = "Terminal file manager"; + exec = "nnn"; + terminal = true; + icon = "nnn"; + mimeType = ["inode/directory"]; + categories = ["System" "FileTools" "FileManager" "ConsoleOnly"]; + # keywords = ["File" "Manager" "Management" "Explorer" "Launcher"]; + }; }; }