feat: move apps to global options
This commit is contained in:
parent
6908755316
commit
66e104d402
4 changed files with 2 additions and 13 deletions
|
@ -3,13 +3,7 @@
|
|||
in {
|
||||
config = {
|
||||
marleycfg = {
|
||||
profiles = {
|
||||
inherit (cfg.profiles) desktop server;
|
||||
};
|
||||
|
||||
my = {
|
||||
inherit (cfg.my) name fullName username email git;
|
||||
};
|
||||
inherit (cfg) apps my profiles;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
imports = [
|
||||
./apps.nix
|
||||
./shellAbbrs.nix
|
||||
];
|
||||
}
|
||||
|
|
|
@ -86,14 +86,9 @@
|
|||
};
|
||||
|
||||
# config = lib.mkIf pkgs.stdenv.isLinux {
|
||||
#
|
||||
# # TODO: move these to respective modules
|
||||
# programs.rbw = lib.mkDefault {
|
||||
# settings.pinentry = cfg.pinentry;
|
||||
# };
|
||||
#
|
||||
# services.gpg-agent = lib.mkDefault {
|
||||
# pinentryPackage = cfg.pinentry;
|
||||
# };
|
||||
# };
|
||||
}
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
imports = [
|
||||
./apps.nix
|
||||
./my.nix
|
||||
./profiles.nix
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue