Skip to content

Commit 89ccb22

Browse files
committed
doom ashes mod
1 parent 83253c7 commit 89ccb22

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

nix/configuration.nix

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@
9696
mkFirejailCustom = {
9797
pkg,
9898
exe,
99+
dir,
99100
cfg ? "",
100101
}: {
101102
"${pkg}" = {
@@ -134,7 +135,7 @@
134135
shell none
135136
136137
disable-mnt
137-
private ''${HOME}/.firejail/${pkg}
138+
private ''${HOME}/.firejail/${dir}
138139
private-bin none
139140
private-cache
140141
private-cwd
@@ -800,11 +801,26 @@ in {
800801
programs.firejail.wrappedBinaries =
801802
mkFirejailSimple "xonotic"
802803
// mkFirejailCustom {
803-
pkg = "doom";
804+
pkg = "doom2";
805+
dir = "doom";
804806
exe = ''
805807
${pkgs.gzdoom}/bin/gzdoom \
806-
-iwad ./mods/freedoom-0.13.0/freedoom2.wad \
807-
-file ./mods/brutalv22test4.pk3
808+
-iwad ./freedoom-0.13.0/freedoom2.wad \
809+
-file ./brutalv22test4.pk3 \
810+
-file ./SimpleSlots.1.1.pk7
811+
'';
812+
}
813+
// mkFirejailCustom {
814+
pkg = "ashes1";
815+
dir = "doom";
816+
exe = ''
817+
${pkgs.gzdoom}/bin/gzdoom \
818+
-iwad ./freedoom-0.13.0/freedoom2.wad \
819+
-file ./ashes/AshesSAMenu.pk3 \
820+
-file ./ashes/lightmodepatch.pk3 \
821+
-file ./ashes/Ashes2063Enriched2_23.pk3 \
822+
-file ./ashes/Ashes2063EnrichedFDPatch.pk3 \
823+
-file ./SimpleSlots.1.1.pk7
808824
'';
809825
};
810826

0 commit comments

Comments
 (0)