Fixed things

This commit is contained in:
2026-04-14 17:06:46 +03:00
parent dc47722b8b
commit a6c4cc7922
5 changed files with 17 additions and 8 deletions
+9
View File
@@ -21,11 +21,14 @@ nix build .#formatter.x86_64-linux
### Deploying ### Deploying
```bash ```bash
# Rebuild the azos environment for lauretta (this machine) — use this when asked to "rebuild"
sudo nixos-rebuild switch --flake '.?submodules=1#lauretta' sudo nixos-rebuild switch --flake '.?submodules=1#lauretta'
nix flake update # Update all inputs nix flake update # Update all inputs
nix flake lock --update-input X # Update specific input nix flake lock --update-input X # Update specific input
``` ```
> **Note**: When the user asks to "rebuild", they mean rebuilding the lauretta environment with the command above — NOT building the VM.
### Dev Shell & REPL ### Dev Shell & REPL
```bash ```bash
nix develop .#shells.x86_64-linux.default nix develop .#shells.x86_64-linux.default
@@ -33,6 +36,12 @@ nix repl
:lf . :lf .
``` ```
### Ad-hoc Commands
If an executable doesn't exist on the system, run it ad-hoc with:
```bash
nix shell nixpkgs#<package> --command <cmd> <args>
```
## Linting/Formatting ## Linting/Formatting
Uses [alejandra](https://github.com/kamadorama/alejandra): Uses [alejandra](https://github.com/kamadorama/alejandra):
+1
View File
@@ -1,6 +1,7 @@
{ {
imports = [ imports = [
./audio.nix ./audio.nix
./claude.nix
./encryption.nix ./encryption.nix
./git.nix ./git.nix
./hfsprogs.nix ./hfsprogs.nix
+4 -4
View File
@@ -53,10 +53,10 @@ in {
home.file.".config/snx-rs/snx-rs.conf" = { home.file.".config/snx-rs/snx-rs.conf" = {
text = '' text = ''
server-name = ${cfg.server} server ${cfg.server}
user-name = ${cfg.username} username ${cfg.username}
login-type = ${cfg.loginType} login-type ${cfg.loginType}
ignore-server-cert = ${lib.boolToString cfg.ignoreServerCert} ignore-server-cert ${lib.boolToString cfg.ignoreServerCert}
''; '';
}; };
}; };
+2 -3
View File
@@ -1,4 +1,3 @@
#+title: Aner's Emacs Lauretta Configuration #+title: Aner's Emacs Lauretta Configuration
#+property: header-args :results silent #+property: header-args :results silent
@@ -32,8 +31,8 @@
** Agent Shell ** Agent Shell
#+begin_src emacs-lisp #+begin_src emacs-lisp
(setq agent-shell-opencode-default-model-id "opencode/glm-5") (setq agent-shell-opencode-default-model-id "opencode/big-pickle")
(setq agent-shell-preferred-agent-config (agent-shell-opencode-make-agent-config)) ;; (setq agent-shell-preferred-agent-config (agent-shell-opencode-make-agent-config))
#+end_src #+end_src
** Headphones ** Headphones