From 61f3684c965df4e9e9d031f904c2065770893de5 Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Sat, 25 Nov 2023 23:25:38 +0100 Subject: [PATCH] tex: move to own modules --- users/rouven/modules/default.nix | 1 + users/rouven/modules/packages.nix | 6 ------ users/rouven/modules/tex/default.nix | 8 ++++++++ 3 files changed, 9 insertions(+), 6 deletions(-) create mode 100644 users/rouven/modules/tex/default.nix diff --git a/users/rouven/modules/default.nix b/users/rouven/modules/default.nix index 6d428b1..eef4f6d 100644 --- a/users/rouven/modules/default.nix +++ b/users/rouven/modules/default.nix @@ -12,6 +12,7 @@ ./spotify ./ssh ./theme + ./tex ./packages.nix ]; } diff --git a/users/rouven/modules/packages.nix b/users/rouven/modules/packages.nix index 0292bee..7592572 100644 --- a/users/rouven/modules/packages.nix +++ b/users/rouven/modules/packages.nix @@ -1,9 +1,4 @@ { pkgs, ... }: -let - tex = (pkgs.texlive.combine { - inherit (pkgs.texlive) scheme-full; - }); -in { home.packages = with pkgs; [ @@ -17,7 +12,6 @@ in wpa_supplicant_gui pcmanfm xdg-utils # used for xdg-open - tex appimage-run seafile-client diff --git a/users/rouven/modules/tex/default.nix b/users/rouven/modules/tex/default.nix new file mode 100644 index 0000000..3a0c1c9 --- /dev/null +++ b/users/rouven/modules/tex/default.nix @@ -0,0 +1,8 @@ +{ pkgs, ... }: +{ + home.packages = [ + (pkgs.texlive.combine { + inherit (pkgs.texlive) scheme-full; + }) + ]; +}