add function to mirror system config in home config
This commit is contained in:
10 files changed
+69
-20
No files matched your search
@@ -12,7 +12,7 @@
|
||||
packages = with pkgs; [
|
||||
speedtest-go
|
||||
] ++ config.features.applications.extraPackages
|
||||
++ (if !(builtins.hasAttr "osConfig" self) then [
|
||||
++ (if !(builtins.tryEval osConfig).success then [
|
||||
pkgs.home-manager
|
||||
] else []);
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
xdg = {
|
||||
enable = true;
|
||||
localBinInPath = !(builtins.hasAttr "osConfig" self);
|
||||
localBinInPath = !(builtins.tryEval osConfig).success;
|
||||
};
|
||||
|
||||
programs = {
|
||||
|
||||
Reference in new issue
Block a user