File tree Expand file tree Collapse file tree 1 file changed +20
-4
lines changed Expand file tree Collapse file tree 1 file changed +20
-4
lines changed Original file line number Diff line number Diff line change 96
96
mkFirejailCustom = {
97
97
pkg ,
98
98
exe ,
99
+ dir ,
99
100
cfg ? "" ,
100
101
} : {
101
102
"${ pkg } " = {
134
135
shell none
135
136
136
137
disable-mnt
137
- private '' ${HOME}/.firejail/${ pkg }
138
+ private '' ${HOME}/.firejail/${ dir }
138
139
private-bin none
139
140
private-cache
140
141
private-cwd
@@ -800,11 +801,26 @@ in {
800
801
programs . firejail . wrappedBinaries =
801
802
mkFirejailSimple "xonotic"
802
803
// mkFirejailCustom {
803
- pkg = "doom" ;
804
+ pkg = "doom2" ;
805
+ dir = "doom" ;
804
806
exe = ''
805
807
${ 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
808
824
'' ;
809
825
} ;
810
826
You can’t perform that action at this time.
0 commit comments