about summary refs log tree commit diff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md34
1 files changed, 12 insertions, 22 deletions
diff --git a/README.md b/README.md
index 4884d66..3dcc633 100644
--- a/README.md
+++ b/README.md
@@ -1,40 +1,30 @@
 Configurations for my machines.
 
-## nixos
+## Operations
 
-To rebuild the host:
+I use [devshell](https://github.com/numtide/devshell) to manage this environment. Most commands related to the maintenance (building the configuration, switching to a new configuration, etc) are managed with it. You can type `menu` and it will display something similar to:
+```sh
+[darwin]
 
-``` sh
-sudo nixos-rebuild switch  --flake .
-```
-
-or
+  build-darwin  - Build the current darwin configuration
+  switch-darwin - Switch to the current darwin configuration
 
-``` sh
-nix-rebuild-host
-```
+[general commands]
 
-## home-manager
+  menu          - prints this menu
+  treefmt       - one CLI to format the code tree
 
-To rebuild the configuration for `home-manager`:
+[nix]
 
-``` sh
-home-manager switch --flake .
+  update        - Update + Commit the Lock File
 ```
 
-## update flakes
-
-To update the flakes:
-
-``` sh
-nix flake update
-```
+and you can type any of these commands.
 
 ## templates
 
 To use one of the template, run:
 
 ``` sh
-nix flake init -t .#rust
 nix flake init -t .#go
 ```