From 0013e7983e46c20283188b8c03980c36326f49f1 Mon Sep 17 00:00:00 2001 From: Natsu Kagami Date: Sun, 23 Mar 2025 16:39:01 +0100 Subject: [PATCH] Move texlive to common --- home/common-linux.nix | 2 ++ home/common.nix | 9 ++++++++- home/kagami-pc-home.nix | 6 ------ home/macbook-nixos.nix | 5 ----- home/nki-framework.nix | 11 ----------- home/nki-x1c1.nix | 5 ----- 6 files changed, 10 insertions(+), 28 deletions(-) diff --git a/home/common-linux.nix b/home/common-linux.nix index 885243f..d348f23 100644 --- a/home/common-linux.nix +++ b/home/common-linux.nix @@ -31,6 +31,8 @@ in home.packages = with pkgs; [ psmisc # killall and friends file # Query file type + zip + python3 pinentry-gnome3 # until pinentry-qt introduces caching ]; diff --git a/home/common.nix b/home/common.nix index fcfc69d..466a7e0 100644 --- a/home/common.nix +++ b/home/common.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: +{ config, pkgs, lib, ... }: { imports = [ @@ -35,6 +35,9 @@ unstable.scala-next ## PDF Processors poppler_utils + # TeX + texlive.combined.scheme-full + inkscape # for TeX svg ## htop replacement htop-vim ## Bitwarden @@ -45,6 +48,10 @@ zstd atool ]; + home.file.".latexmkrc".text = '' + $pdf_previewer = '${lib.getExe' pkgs.xdg-utils "xdg-open"}'; + ''; + home.sessionVariables = { # Bat theme diff --git a/home/kagami-pc-home.nix b/home/kagami-pc-home.nix index 0c67533..b5bab2b 100644 --- a/home/kagami-pc-home.nix +++ b/home/kagami-pc-home.nix @@ -15,12 +15,6 @@ # More packages home.packages = (with pkgs; [ - # CLI stuff - zip - # TeX - texlive.combined.scheme-full - inkscape # for TeX svg - # Gaming stuff wineWowPackages.full # wine-lol diff --git a/home/macbook-nixos.nix b/home/macbook-nixos.nix index 8178d4e..ee48625 100644 --- a/home/macbook-nixos.nix +++ b/home/macbook-nixos.nix @@ -31,11 +31,6 @@ in # More packages home.packages = (with pkgs; [ - # CLI stuff - python3 - zip - # TeX - texlive.combined.scheme-full mate.mate-terminal firefox-wayland diff --git a/home/nki-framework.nix b/home/nki-framework.nix index 472945f..d927a08 100644 --- a/home/nki-framework.nix +++ b/home/nki-framework.nix @@ -15,17 +15,6 @@ home.username = "nki"; home.homeDirectory = "/home/nki"; - # More packages - home.packages = (with pkgs; [ - # CLI stuff - python3 - zip - # TeX - texlive.combined.scheme-full - # Note-taking - rnote - ]); - # Graphical set up linux.graphical.type = "wayland"; linux.graphical.wallpaper = ./images/wallpaper_0.png; diff --git a/home/nki-x1c1.nix b/home/nki-x1c1.nix index 9fdeb5e..07c4fd3 100644 --- a/home/nki-x1c1.nix +++ b/home/nki-x1c1.nix @@ -32,11 +32,6 @@ in # More packages home.packages = (with pkgs; [ - # CLI stuff - python3 - zip - # TeX - texlive.combined.scheme-full # Note-taking rnote ]);