File tree Expand file tree Collapse file tree 4 files changed +43
-0
lines changed Expand file tree Collapse file tree 4 files changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ { pkgs } : let
2
+ nixpak = import ./nixpak.nix ;
3
+ mkNixPak = nixpak . lib . nixpak {
4
+ inherit ( pkgs ) lib ;
5
+ inherit pkgs ;
6
+ } ;
7
+ app = pkgs . writeShellApplication {
8
+ name = "bar" ;
9
+ text = "${ pkgs . beyond-all-reason } /bin/beyond-all-reason" ;
10
+ } ;
11
+ sandbox = mkNixPak {
12
+ config = { sloth , ...} : {
13
+ app . package = app ;
14
+ gpu . enable = true ;
15
+ gpu . provider = "bundle" ;
16
+ fonts . enable = true ;
17
+ locale . enable = true ;
18
+ etc . sslCertificates . enable = true ;
19
+ bubblewrap = {
20
+ network = true ;
21
+ sockets . pulse = true ;
22
+ sockets . wayland = true ;
23
+ bind . rw = [
24
+ [
25
+ ( sloth . mkdir ( sloth . concat' sloth . homeDir "/bar" ) )
26
+ sloth . homeDir
27
+ ]
28
+ ] ;
29
+ tmpfs = [
30
+ "/tmp"
31
+ ] ;
32
+ } ;
33
+ } ;
34
+ } ;
35
+ in
36
+ sandbox . config . env
Original file line number Diff line number Diff line change 805
805
( import ./clipmaker.nix )
806
806
neovim
807
807
( import ./zed.nix { inherit pkgs ; } )
808
+ ( import ./bar.nix { inherit pkgs ; } )
808
809
] ;
809
810
programs . git = {
810
811
enable = true ;
Original file line number Diff line number Diff line change 19
19
autosave = "off" ;
20
20
theme = "One Dark" ;
21
21
22
+ agent . default_model = {
23
+ provider = "google" ;
24
+ model = "gemini-2.5-pro" ;
25
+ } ;
26
+
22
27
lsp = {
23
28
nil = {
24
29
binary = {
Original file line number Diff line number Diff line change 36
36
"/etc/group"
37
37
"/etc/passwd"
38
38
"/run/current-system/sw/bin/bash"
39
+ "/run/current-system/sw/bin/less"
39
40
( sloth . concat' sloth . homeDir "/.nix-profile" )
40
41
[
41
42
( toString ( import ./zed-config.nix { inherit pkgs ; } ) )
You can’t perform that action at this time.
0 commit comments