File tree Expand file tree Collapse file tree 3 files changed +43
-28
lines changed Expand file tree Collapse file tree 3 files changed +43
-28
lines changed Original file line number Diff line number Diff line change @@ -181,3 +181,16 @@ Run `check_ssl_cert -H htz2.nn42.de -p 25 -P smtp --dane 1` to check it.
181
181
'')
182
182
];
183
183
```
184
+
185
+ ## Runpod quickstart
186
+
187
+ ```
188
+ apt update && apt install -y nvtop
189
+ curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install linux --init none --no-confirm --diagnostic-endpoint ""
190
+ export PATH=${PATH}:/nix/var/nix/profiles/default/bin
191
+ nix run home-manager -- --flake github:elohmeier/ptsd#runpod switch
192
+ export TERMINFO_DIRS=/root/.nix-profile/share/terminfo:/etc/terminfo:/lib/terminfo:/usr/share/terminfo
193
+ echo "/root/.nix-profile/bin/fish" >> /etc/shells
194
+ chsh -s /root/.nix-profile/bin/fish
195
+ fish
196
+ ```
Original file line number Diff line number Diff line change 105
105
inputs . nixcfg . hmModules . cli-git
106
106
inputs . nixcfg . hmModules . cli-lazygit
107
107
inputs . nixcfg . hmModules . cli-tmux
108
- (
109
- { pkgs , ... } :
110
- {
111
- home = {
112
- username = "root" ;
113
- homeDirectory = "/root" ;
114
- stateVersion = "24.11" ;
115
- packages = [
116
- pkgs . ghostty . terminfo
117
- pkgs . nixfmt-rfc-style
118
- pkgs . nixvim-minimal
119
- pkgs . ruff
120
- pkgs . uv
121
- ] ;
122
- sessionVariables = {
123
- EDITOR = "nvim" ;
124
- TERMINFO_DIRS = "/root/.nix-profile/share/terminfo:/etc/terminfo:/lib/terminfo:/usr/share/terminfo" ;
125
- PATH = "/nix/var/nix/profiles/default/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin /usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/nix/var/nix/profiles/default/bin" ;
126
- } ;
127
- } ;
128
-
129
- programs . fish = {
130
- shellAbbrs = {
131
- e = "nvim" ;
132
- } ;
133
- } ;
134
- }
135
- )
108
+ ./runpod.nix
136
109
] ;
137
110
} ;
138
111
Original file line number Diff line number Diff line change
1
+ { pkgs , ... } :
2
+
3
+ {
4
+ home = {
5
+ username = "root" ;
6
+ homeDirectory = "/root" ;
7
+ stateVersion = "24.11" ;
8
+ packages = [
9
+ pkgs . btop
10
+ pkgs . ghostty . terminfo
11
+ pkgs . nixfmt-rfc-style
12
+ pkgs . nixvim-minimal
13
+ pkgs . ruff
14
+ pkgs . taplo
15
+ pkgs . uv
16
+ ] ;
17
+ sessionVariables = {
18
+ EDITOR = "nvim" ;
19
+ TERMINFO_DIRS = "/root/.nix-profile/share/terminfo:/etc/terminfo:/lib/terminfo:/usr/share/terminfo" ;
20
+ PATH = "/nix/var/nix/profiles/default/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin /usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/nix/var/nix/profiles/default/bin" ;
21
+ } ;
22
+ } ;
23
+
24
+ programs . fish = {
25
+ shellAbbrs = {
26
+ e = "nvim" ;
27
+ } ;
28
+ } ;
29
+ }
You can’t perform that action at this time.
0 commit comments