about summary refs log tree commit diff
path: root/README.md
blob: 3dcc63319532ee5c8ea04cd12e1a29f8f7723540 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Configurations for my machines.

## Operations

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]

  build-darwin  - Build the current darwin configuration
  switch-darwin - Switch to the current darwin configuration

[general commands]

  menu          - prints this menu
  treefmt       - one CLI to format the code tree

[nix]

  update        - Update + Commit the Lock File
```

and you can type any of these commands.

## templates

To use one of the template, run:

``` sh
nix flake init -t .#go
```