feat: move apps to global options

This commit is contained in:
punkfairie 2025-05-27 17:20:12 -07:00
parent 6908755316
commit 66e104d402
Signed by: punkfairie
GPG key ID: B3C5488E9A1A7CA6
4 changed files with 2 additions and 13 deletions

View file

@ -3,13 +3,7 @@
in { in {
config = { config = {
marleycfg = { marleycfg = {
profiles = { inherit (cfg) apps my profiles;
inherit (cfg.profiles) desktop server;
};
my = {
inherit (cfg.my) name fullName username email git;
};
}; };
}; };
} }

View file

@ -1,6 +1,5 @@
{ {
imports = [ imports = [
./apps.nix
./shellAbbrs.nix ./shellAbbrs.nix
]; ];
} }

View file

@ -86,14 +86,9 @@
}; };
# config = lib.mkIf pkgs.stdenv.isLinux { # config = lib.mkIf pkgs.stdenv.isLinux {
#
# # TODO: move these to respective modules # # TODO: move these to respective modules
# programs.rbw = lib.mkDefault { # programs.rbw = lib.mkDefault {
# settings.pinentry = cfg.pinentry; # settings.pinentry = cfg.pinentry;
# }; # };
#
# services.gpg-agent = lib.mkDefault {
# pinentryPackage = cfg.pinentry;
# };
# }; # };
} }

View file

@ -1,5 +1,6 @@
{ {
imports = [ imports = [
./apps.nix
./my.nix ./my.nix
./profiles.nix ./profiles.nix
]; ];