From b27c5cf38b5cef5731b5be8ba41e3fa7cb0df293 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sat, 5 May 2018 16:29:07 +0200 Subject: Group applications by purpose --- gui/apps/dev.nix | 14 ++++++++++++++ gui/apps/file.nix | 32 ++++++++++++++++++++++++++++++++ gui/apps/web.nix | 17 +++++++++++++++++ 3 files changed, 63 insertions(+) create mode 100644 gui/apps/dev.nix create mode 100644 gui/apps/file.nix create mode 100644 gui/apps/web.nix (limited to 'gui/apps') diff --git a/gui/apps/dev.nix b/gui/apps/dev.nix new file mode 100644 index 0000000..2d7397c --- /dev/null +++ b/gui/apps/dev.nix @@ -0,0 +1,14 @@ +{ pkgs, ... }: + +{ + home = { + packages = with pkgs; [ + # UI dev utilities (language environments are maintained in project specific nix-shells) + zeal + hotspot + qcachegrind + gitg + paraview + ]; + }; +} diff --git a/gui/apps/file.nix b/gui/apps/file.nix new file mode 100644 index 0000000..d366621 --- /dev/null +++ b/gui/apps/file.nix @@ -0,0 +1,32 @@ +{ pkgs, ... }: + +{ + home = { + packages = with pkgs; [ + # browser + pcmanfm + # automounting + gvfs lxmenu-data shared_mime_info + # tools + veracrypt + # viewers + evince + sxiv + mpv + libreoffice + ]; + + sessionVariables = { + # required to enable auto-mounting in pcmanfm + GIO_EXTRA_MODULES = [ "${pkgs.gvfs}/lib/gio/modules" ]; + # use GTK theme in libreoffice + SAL_USE_VCLPLUGIN = "gtk"; + }; + + file.".config/user-dirs.dirs".text = '' + XDG_TEMPLATES_DIR="$HOME/" + XDG_DESKTOP_DIR="$HOME/" + XDG_DOWNLOADS_DIR="$HOME/downloads/" + ''; + }; +} diff --git a/gui/apps/web.nix b/gui/apps/web.nix new file mode 100644 index 0000000..157fbeb --- /dev/null +++ b/gui/apps/web.nix @@ -0,0 +1,17 @@ +{ pkgs, ... }: + +{ + home = { + packages = with pkgs; [ + thunderbird + tdesktop + ]; + }; + + programs.firefox = { + enable = true; + enableAdobeFlash = true; + }; + + services.syncthing.enable = true; +} -- cgit v1.2.3