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 {
|
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;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./apps.nix
|
|
||||||
./shellAbbrs.nix
|
./shellAbbrs.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
|
||||||
# };
|
|
||||||
# };
|
# };
|
||||||
}
|
}
|
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
./apps.nix
|
||||||
./my.nix
|
./my.nix
|
||||||
./profiles.nix
|
./profiles.nix
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue