Skip to content

Commit 10a4c39

Browse files
committed
Use wrapped nova-editor
1 parent fbb9d5d commit 10a4c39

3 files changed

Lines changed: 12 additions & 8 deletions

File tree

home/default.nix

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,25 @@
1414
home.packages = with pkgs; let
1515
nodejs = pkgs-stable.nodejs_20;
1616
yarn = pkgs-stable.yarn.override {inherit nodejs;};
17+
nova = (symlinkJoin {
18+
name = "nova-wrapped";
19+
paths = [nova-editor];
20+
buildInputs = [makeWrapper];
21+
postBuild = ''
22+
wrapProgram "$out/Applications/Nova.app/Contents/MacOS/Nova" \
23+
--set PATH ${lib.makeBinPath [copilot-language-server nil nodejs shellcheck typescript yarn]}
24+
'';
25+
});
1726
development = [
1827
colima
19-
copilot-language-server
2028
docker
2129
hub
22-
jo
2330
nodejs
24-
shellcheck
2531
tree
26-
yarn
27-
yq
2832
];
2933
nixSpecific = [
3034
comma
3135
manix
32-
nil
3336
nix-du
3437
nix-tree
3538
nix-your-shell
@@ -64,6 +67,7 @@
6467
m-cli
6568
mas
6669
mochi
70+
nova
6771
slack
6872
soundsource
6973
the-unarchiver

modules/base.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"daisydisk"
2020
"fastscripts"
2121
"mochi"
22+
"nova-editor"
2223
"plexmediaserver"
2324
"roon-server"
2425
"slack"

modules/darwin/default.nix

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
inherit name;
3434
greedy = true;
3535
}) [
36-
"nova"
3736
"postico"
3837
"qlmarkdown"
3938
]
@@ -143,7 +142,7 @@
143142
persistent-apps = [
144143
"/System/Volumes/Preboot/Cryptexes/App/System/Applications/Safari.app"
145144
"/System/Applications/Mail.app"
146-
"/Applications/Nova.app"
145+
"${pkgs.nova-editor}/Applications/Nova.app"
147146
"/Applications/Prompt.app"
148147
"/Applications/Reeder.app"
149148
"/Applications/Roon.app"

0 commit comments

Comments
 (0)