Skip to content

Commit beea847

Browse files
committed
fix: Re-enable per-platform HM modules
1 parent 16af1ea commit beea847

2 files changed

Lines changed: 10 additions & 54 deletions

File tree

.config/nix/home-manager/default.nix

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
lib,
66
stateVersion,
77
username,
8+
platform,
89
...
910
}:
1011
let
@@ -53,14 +54,15 @@ in
5354
./_mixins/features/vscode
5455
./_mixins/features/yazi
5556
./_mixins/features/zsh
56-
# ]
57-
# ++ lib.optionals isDarwin [
58-
# ./_mixins/features/jankyborders
59-
# ./_mixins/features/hammerspoon
60-
# ./_mixins/features/sketchybar
61-
# ]
62-
# ++ lib.optionals isLinux [
63-
# ./features/gdb
57+
]
58+
# FIXME: This looks dirty, make a nice little helper for checking platform
59+
++ lib.optionals (platform == "aarch64-darwin") [
60+
./_mixins/features/jankyborders
61+
./_mixins/features/hammerspoon
62+
./_mixins/features/sketchybar
63+
]
64+
++ lib.optionals (platform == "x86_64-linux") [
65+
./_mixins/features/gdb
6466
];
6567
home = {
6668
inherit stateVersion;

.gdbinit

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)