From 5c929290c03bcfbc243062157098458a77c2817e Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 9 Apr 2022 11:31:39 -0700 Subject: add a few more packages for home/ --- home/default.nix | 4 ++++ home/eog/default.nix | 9 +++++++++ home/evince/default.nix | 9 +++++++++ home/seahorse/default.nix | 9 +++++++++ home/transmission-remote/default.nix | 10 ++++++++++ home/xdg/default.nix | 2 ++ 6 files changed, 43 insertions(+) create mode 100644 home/eog/default.nix create mode 100644 home/evince/default.nix create mode 100644 home/seahorse/default.nix create mode 100644 home/transmission-remote/default.nix (limited to 'home') diff --git a/home/default.nix b/home/default.nix index 42ea925..71fbd14 100644 --- a/home/default.nix +++ b/home/default.nix @@ -6,6 +6,8 @@ ./documentation ./element ./emacs + ./eog + ./evince ./feh ./firefox ./fish @@ -21,10 +23,12 @@ ./pcmanfm ./python ./scanner + ./seahorse ./ssh ./sublime-music ./terminal ./tmux + ./transmission-remote ./vlc ./wm ./xdg diff --git a/home/eog/default.nix b/home/eog/default.nix new file mode 100644 index 0000000..c7f784b --- /dev/null +++ b/home/eog/default.nix @@ -0,0 +1,9 @@ +{ lib, config, pkgs, ... }: +let cfg = config.my.home.eog; +in { + options.my.home.eog = with lib; { + enable = mkEnableOption "eog configuration"; + }; + + config.home.packages = with pkgs; lib.mkIf cfg.enable ([ gnome3.eog ]); +} diff --git a/home/evince/default.nix b/home/evince/default.nix new file mode 100644 index 0000000..16abc57 --- /dev/null +++ b/home/evince/default.nix @@ -0,0 +1,9 @@ +{ lib, config, pkgs, ... }: +let cfg = config.my.home.evince; +in { + options.my.home.evince = with lib; { + enable = mkEnableOption "evince configuration"; + }; + + config.home.packages = with pkgs; lib.mkIf cfg.enable ([ gnome3.evince ]); +} diff --git a/home/seahorse/default.nix b/home/seahorse/default.nix new file mode 100644 index 0000000..54688a1 --- /dev/null +++ b/home/seahorse/default.nix @@ -0,0 +1,9 @@ +{ lib, config, pkgs, ... }: +let cfg = config.my.home.seahorse; +in { + options.my.home.seahorse = with lib; { + enable = mkEnableOption "seahorse configuration"; + }; + + config.home.packages = with pkgs; lib.mkIf cfg.enable ([ gnome.seahorse ]); +} diff --git a/home/transmission-remote/default.nix b/home/transmission-remote/default.nix new file mode 100644 index 0000000..29c070b --- /dev/null +++ b/home/transmission-remote/default.nix @@ -0,0 +1,10 @@ +{ lib, config, pkgs, ... }: +let cfg = config.my.home.transmission-remote; +in { + options.my.home.transmission-remote = with lib; { + enable = mkEnableOption "transmission-remote configuration"; + }; + + config.home.packages = with pkgs; + lib.mkIf cfg.enable ([ transmission-remote-gtk ]); +} diff --git a/home/xdg/default.nix b/home/xdg/default.nix index a4f0c53..133b0ad 100644 --- a/home/xdg/default.nix +++ b/home/xdg/default.nix @@ -34,6 +34,8 @@ in { # [ pkgs.xdg-desktop-portal-gtk pkgs.xdg-desktop-portal-wlr ]; # }; + home.packages = with pkgs; [ xdg-utils ]; + # I want a tidier home home.sessionVariables = with config.xdg; { DOCKER_CONFIG = "${configHome}/docker"; -- cgit 1.4.1