add function to mirror system config in home config

This commit is contained in:
greyweather committed 2026-08-28 04:07:48 +01:00
1 parent 3af64e993c
commit 1c1174edd3
10 files changed
+69 -20

No files matched your search

+2 -2
View File
@@ -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 = {