about summary refs log tree commit diff
path: root/README.md
blob: 4884d6639db28180102d4970bca6d06c728bbc1d (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
31
32
33
34
35
36
37
38
39
40
Configurations for my machines.

## nixos

To rebuild the host:

``` sh
sudo nixos-rebuild switch  --flake .
```

or

``` sh
nix-rebuild-host
```

## home-manager

To rebuild the configuration for `home-manager`:

``` sh
home-manager switch --flake .
```

## update flakes

To update the flakes:

``` sh
nix flake update
```

## templates

To use one of the template, run:

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