users/foo-dogsquared: add state packages

This commit is contained in:
Gabriel Arazas 2024-08-24 13:56:15 +08:00
parent edc79b33fb
commit 5d36d79898
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360

View File

@ -2,6 +2,7 @@
let let
inherit (bahaghariLib.tinted-theming) importScheme; inherit (bahaghariLib.tinted-theming) importScheme;
userCfg = config.users.foo-dogsquared;
in in
{ {
imports = [ ./modules ]; imports = [ ./modules ];
@ -65,6 +66,17 @@ in
kanidm.source = ./config/kanidm/config; 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. # Automating some files to be fetched on activation.
home.mutableFile = { home.mutableFile = {
# ...my gopass secrets,... # ...my gopass secrets,...