Update README
This commit is contained in:
parent
f0d548f84c
commit
0451b1b1ee
23
README.md
23
README.md
@ -1,9 +1,28 @@
|
|||||||
|
|
||||||
|
# Faris' NixOS config
|
||||||
|
|
||||||
|
This flake includes the complete NixOS setup for all my computers.
|
||||||
|
|
||||||
|
It includes the configuration of zsh, neovim, tmux, etc across all the machines. On Linux desktops it uses the Gnome desktop environment. On the main server it uses podman (docker drop-in replacement) containers for all the services.
|
||||||
|
|
||||||
|
Feel free to take a look and I hope it can be used for inspiration.
|
||||||
|
|
||||||
To update the flake run:
|
To update the flake run:
|
||||||
```
|
```
|
||||||
sudo nix flake update
|
sudo nix flake update
|
||||||
```
|
```
|
||||||
To rebuild and switch to the configuration, first copy over the *hardware.nix* and then run
|
To rebuild and switch to the configuration, first copy over the *hardware.nix* and then run one of the following
|
||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo nixos-rebuild switch --flake .#<configuration>
|
sudo nixos-rebuild switch --flake .#desktop
|
||||||
|
```
|
||||||
|
```
|
||||||
|
sudo nixos-rebuild switch --flake .#admins-MacBook-Air
|
||||||
|
```
|
||||||
|
```
|
||||||
|
sudo nixos-rebuild switch --flake .#nixos-server
|
||||||
|
```
|
||||||
|
```
|
||||||
|
sudo nixos-rebuild switch --flake .#nixos-server-nut
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user