about summary refs log tree commit diff
path: root/README.md
blob: 6bf450de8024de7ea8d2984e6cd0221c61d864c3 (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
41
# NIX Config
My Personal NixOS Flake.
  

# NixOS
## Installing

```
nixos-install --flake . #$HOST-$HARDWARE-$ARCH
```

## Updating

```
nix flake update

nixos-rebuild switch --flake . #$HOST-$HARDWARE-$ARCH
```

# Non-Nixos
## Installing
```
nix build .#homeManagerConfigurations.$HOST-$HARDWARE-$ARCH.activationPackage
./result/activate
```

## Updating
```
home-manager switch --flake .#$HOST-$HARDWARE-$ARCH
```

# ISO
## Building
```
nix build .#isoConfigurations.$HOST-$HARDWARE-$ARCH.config.system.build.isoImage
```

# Deploying
```
# deploy -s .#$HOST-$HARDWARE-$ARCH --hostname $TARGET_IP
```