From 5d36d798983ca00eaabbdeec850e7869cdd02a57 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sat, 24 Aug 2024 13:56:15 +0800 Subject: [PATCH] users/foo-dogsquared: add state packages --- configs/home-manager/foo-dogsquared/default.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/configs/home-manager/foo-dogsquared/default.nix b/configs/home-manager/foo-dogsquared/default.nix index b736244d..f88b99fb 100644 --- a/configs/home-manager/foo-dogsquared/default.nix +++ b/configs/home-manager/foo-dogsquared/default.nix @@ -2,6 +2,7 @@ let inherit (bahaghariLib.tinted-theming) importScheme; + userCfg = config.users.foo-dogsquared; in { imports = [ ./modules ]; @@ -65,6 +66,17 @@ in kanidm.source = ./config/kanidm/config; }; + # Holding these in for whatever reason. + state.packages = { + diff = pkgs.diffoscope; + pager = config.programs.bat.package; + editor = + if userCfg.programs.nixvim.enable then + config.programs.nixvim.finalPackage + else + config.programs.neovim.package; + }; + # Automating some files to be fetched on activation. home.mutableFile = { # ...my gopass secrets,...