File tree Expand file tree Collapse file tree 3 files changed +34
-6
lines changed Expand file tree Collapse file tree 3 files changed +34
-6
lines changed Original file line number Diff line number Diff line change @@ -798,15 +798,45 @@ in {
798
798
${ import ./tabby.nix } /bin/tabby \
799
799
download --model Qwen2.5-Coder-0.5B
800
800
'' ;
801
- } ;
801
+ }
802
+ // fj . mkFirejailCustom {
803
+ pkg = "vi" ;
804
+ exe = "${ vi } /bin/vi" ;
805
+ profile = pkgs . writeText "fjvi.local" ''
806
+ no3d
807
+ nosound
808
+ apparmor
809
+ caps.drop all
810
+ machine-id
811
+ net none
812
+ netfilter
813
+ nodvd
814
+ nogroups
815
+ noinput
816
+ nonewprivs
817
+ noprinters
818
+ noroot
819
+ notv
820
+ nou2f
821
+ novideo
822
+ shell none
823
+
824
+ disable-mnt
825
+ seccomp
826
+ x11 none
802
827
828
+ dbus-system none
829
+ dbus-user none
830
+
831
+ restrict-namespaces
832
+ '' ;
833
+ } ;
803
834
#
804
835
# Home
805
836
#
806
837
home-manager . users . ${ config . services . functora . userName } = {
807
838
home . stateVersion = "22.11" ;
808
839
home . packages = with pkgs ; [
809
- vi
810
840
tree
811
841
s-tui
812
842
qutebrowser
Original file line number Diff line number Diff line change @@ -14,11 +14,12 @@ in rec {
14
14
net ? false ,
15
15
grp ? null ,
16
16
cfg ? "" ,
17
+ profile ? mkFirejailProfile { inherit pkg dir net grp cfg ; } ,
17
18
exe ,
18
19
} : {
19
20
"${ pkg } " = {
20
21
executable = exe ;
21
- profile = mkFirejailProfile { inherit pkg dir net grp cfg ; } ;
22
+ inherit profile ;
22
23
} ;
23
24
} ;
24
25
mkFirejailProfile = {
Original file line number Diff line number Diff line change @@ -437,7 +437,6 @@ library bolt11
437
437
438
438
library round
439
439
import : pkg-round
440
- build-depends : functora
441
440
exposed : True
442
441
visibility : public
443
442
exposed-modules : Functora.Round
@@ -471,12 +470,10 @@ test-suite functora-test
471
470
, qrcode-core
472
471
, QuickCheck
473
472
, quickcheck-instances
474
- , smallcheck
475
473
, string-qq
476
474
, tasty
477
475
, tasty-hunit
478
476
, tasty-quickcheck
479
- , tasty-smallcheck
480
477
, text
481
478
, universum
482
479
You can’t perform that action at this time.
0 commit comments