Skip to content

Commit dbbb48d

Browse files
fix: make gui-misc bundle darwin-compatible
Move Linux-only packages (google-chrome, shotcut, obs-studio, obsidian) behind a stdenv.isLinux guard. Also fix cfg referencing wrong option.
1 parent 5a2e956 commit dbbb48d

1 file changed

Lines changed: 15 additions & 11 deletions

File tree

‎bundles/gui-misc.nix‎

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,25 @@
66
}:
77

88
let
9-
cfg = config.pixos.bundles.git;
9+
cfg = config.pixos.bundles.gui-misc;
1010
in
1111
{
1212
options.pixos.bundles.gui-misc.enable = lib.mkEnableOption "GUI misc tools bundle";
1313

1414
config = lib.mkIf cfg.enable {
15-
environment.systemPackages = with pkgs; [
16-
google-chrome
17-
localsend
18-
zotero
19-
shotcut
20-
obs-studio
21-
obsidian
22-
audacity
23-
unbill-tauri
24-
];
15+
environment.systemPackages =
16+
with pkgs;
17+
[
18+
localsend
19+
zotero
20+
audacity
21+
unbill-tauri
22+
]
23+
++ lib.optionals pkgs.stdenv.isLinux [
24+
google-chrome
25+
shotcut
26+
obs-studio
27+
obsidian
28+
];
2529
};
2630
}

0 commit comments

Comments
 (0)