about summary refs log tree commit diff
path: root/README.md
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-12-14 17:54:52 -0800
committerFranck Cuny <franck@fcuny.net>2023-12-14 17:54:52 -0800
commitcd54909e6ef6faa27c3066100782acf7fd704890 (patch)
tree5953b23f268347051090b65aa14348d1a9802d37 /README.md
parentuse the `update-flake-lock` to update nix flakes (diff)
downloadworld-cd54909e6ef6faa27c3066100782acf7fd704890.tar.gz
update the main documentation
Delete unused/outdated documentations.
Diffstat (limited to '')
-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
 ```