refactor to fix dependency on 'osConfig' arg

This commit is contained in:
greyweather committed 2026-08-28 05:26:46 +01:00
1 parent 1c1174edd3
commit 22d431e271
11 files changed
+86 -55

No files matched your search

+5 -3
View File
@@ -1,18 +1,20 @@
{ inputs, self, ... }: {
flake.homeModules.global = { config, pkgs, osConfig, ... }: {
flake.homeModules.global = { config, pkgs, ... }: {
nix.gc = {
automatic = true;
persistent = true;
dates = "Sun 05:00";
};
nixpkgs.config.allowUnfree = true;
home = {
stateVersion = config.info.stateVersion;
packages = with pkgs; [
speedtest-go
] ++ config.features.applications.extraPackages
++ (if !(builtins.tryEval osConfig).success then [
++ (if config.info.isStandalone then [
pkgs.home-manager
] else []);
@@ -24,7 +26,7 @@
xdg = {
enable = true;
localBinInPath = !(builtins.tryEval osConfig).success;
localBinInPath = true;
};
programs = {