File tree Expand file tree Collapse file tree 4 files changed +65
-19
lines changed Expand file tree Collapse file tree 4 files changed +65
-19
lines changed Original file line number Diff line number Diff line change @@ -776,26 +776,19 @@ in {
776
776
ccrypt
777
777
libreoffice
778
778
tor-browser-bundle-bin
779
- kooha
780
779
mpv
781
780
# cura
782
781
git-lfs
783
782
lesspass-cli
784
- # mkdir -p ~/macos/Public
785
- # cd ~/macos
786
- # chmod 777 ./Public
787
- # quickget macos monterey
788
- # quickemu --vm macos-monterey.conf --public-dir ./Public --extra_args "-cpu host,+vmx"
789
- quickemu
790
783
usbutils
791
784
simple-scan
792
785
system-config-printer
793
786
pulsemixer
787
+ neovim
794
788
( import ./vidmaker.nix )
795
789
( import ./clipmaker.nix )
796
- neovim
797
- ( import ./zed.nix { inherit pkgs ; } )
798
790
( import ./bar.nix { inherit pkgs ; } )
791
+ ( import ./vibe.nix { inherit pkgs ; } )
799
792
] ;
800
793
programs . git = {
801
794
enable = true ;
@@ -1104,8 +1097,9 @@ in {
1104
1097
# AI
1105
1098
#
1106
1099
services . llama-cpp . port = 11434 ;
1107
- services . llama-cpp . package = pkgs . llama-cpp . override { vulkanSupport = true ; } ;
1108
- services . llama-cpp . model = ../../llms/microsoft_Phi-4-reasoning-plus-Q5_K_M.gguf ;
1100
+ services . llama-cpp . package = unst . llama-cpp . override { vulkanSupport = true ; } ;
1101
+ services . llama-cpp . model = ../../llms/google_gemma-3-270m-it-qat-Q5_K_M.gguf ;
1102
+ services . llama-cpp . extraFlags = [ "-c" "32000" ] ;
1109
1103
#
1110
1104
# Fonts
1111
1105
#
Original file line number Diff line number Diff line change 16
16
buildInputs =
17
17
[
18
18
pkgs . hlint
19
- pkgs . gleam
20
- pkgs . erlang
21
- pkgs . elixir
22
19
pkgs . libwebp
23
20
newpkgs . litecli
24
- misc . nix-bundle
25
21
bak . bak-status
26
22
bak . bak-commit
27
23
bak . bak-encrypt
28
24
# bak.bak-decrypt
29
25
]
30
26
++ ( import ./tools.nix )
31
- ++ ( import ./../pub/dazzle/nix/tools.nix )
32
27
++ ( import ./../pub/functora-hakyll/nix/tools.nix )
33
28
++ ( import ./../pub/functora/nix/tools.nix )
34
29
++ ( import ./../pub/bfx/nix/tools.nix )
Original file line number Diff line number Diff line change 65
65
"homepage" : " " ,
66
66
"owner" : " NixOS" ,
67
67
"repo" : " nixpkgs" ,
68
- "rev" : " cab778239e705082fe97bb4990e0d24c50924c04 " ,
69
- "sha256" : " 119yw3dqvq6c9kvvk8x1829a3symy6g0cbzjpskx9xhbak4r82cn " ,
68
+ "rev" : " 32f313e49e42f715491e1ea7b306a87c16fe0388 " ,
69
+ "sha256" : " 1z4ga87qla5300qwib3dnjnkaywwh8y1qqsb8w2mrsrw78k9xmlw " ,
70
70
"type" : " tarball" ,
71
- "url" : " https://github.com/NixOS/nixpkgs/archive/cab778239e705082fe97bb4990e0d24c50924c04 .tar.gz" ,
71
+ "url" : " https://github.com/NixOS/nixpkgs/archive/32f313e49e42f715491e1ea7b306a87c16fe0388 .tar.gz" ,
72
72
"url_template" : " https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
73
73
}
74
74
}
Original file line number Diff line number Diff line change
1
+ { pkgs ? import <nixpkgs> { } } : 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 = "vibe" ;
9
+ text = "alacritty" ;
10
+ runtimeInputs = with pkgs ; [
11
+ ( import ./../pub/vi/nix/default.nix { } )
12
+ busybox
13
+ curl
14
+ wget
15
+ git
16
+ alacritty
17
+ tmux
18
+ nix
19
+ ] ;
20
+ } ;
21
+ sandbox = mkNixPak {
22
+ config = { sloth , ...} : {
23
+ app . package = app ;
24
+ gpu . enable = true ;
25
+ gpu . provider = "bundle" ;
26
+ fonts . enable = true ;
27
+ locale . enable = true ;
28
+ etc . sslCertificates . enable = true ;
29
+ bubblewrap = {
30
+ network = true ;
31
+ sockets . pulse = true ;
32
+ sockets . wayland = true ;
33
+ bind . ro = [
34
+ "/bin/sh"
35
+ "/run/current-system/sw/bin/bash"
36
+ "/run/current-system/sw/bin/less"
37
+ ( sloth . concat' sloth . homeDir "/.config/tmux" )
38
+ ( sloth . concat' sloth . homeDir "/.config/alacritty" )
39
+ ( sloth . concat' sloth . homeDir "/.config/nvim/coc-settings.json" )
40
+ ] ;
41
+ bind . rw = [
42
+ [
43
+ ( sloth . mkdir ( sloth . concat' sloth . homeDir "/vibe" ) )
44
+ sloth . homeDir
45
+ ]
46
+ ] ;
47
+ tmpfs = [
48
+ "/tmp"
49
+ ] ;
50
+ env . NIX_CONFIG = ''
51
+ experimental-features = nix-command flakes
52
+ '' ;
53
+ } ;
54
+ } ;
55
+ } ;
56
+ in
57
+ sandbox . config . env
You can’t perform that action at this time.
0 commit comments