32 lines
694 B
Markdown
32 lines
694 B
Markdown
# Private NixOS Configuration
|
|
|
|
[Felix Nixos Config](https://github.com/Stunkymonkey/nixos)
|
|
|
|
## Structure
|
|
|
|
```
|
|
.
|
|
├── images # custom image generations
|
|
├── machines # machine definitions
|
|
├── modules # own nix-options, to modularize services/hardware/...
|
|
├── overlays # overlays
|
|
├── pkgs # own packages, which are not available in nixpkgs
|
|
└── environments # summarize module collections into single options
|
|
```
|
|
|
|
## Commands
|
|
|
|
```bash
|
|
# Rebuild (switch/boot/test)
|
|
sudo nixos-rebuild switch --flake '.#jupiter'
|
|
|
|
|
|
# Update Flake
|
|
nix flake update
|
|
|
|
# Channel list
|
|
sudo nix-channel --list
|
|
# Channel update
|
|
sudo nix-channel --update
|
|
```
|