35
README.md
35
README.md
@@ -22,14 +22,22 @@ Don't forget to add the `#<host>` to the end of the target to specify the host c
|
||||
|
||||
## Usage
|
||||
### Deploying to a machine
|
||||
Run
|
||||
Run
|
||||
```bash
|
||||
nixos-rebuild switch --flake <target>#<machine>
|
||||
# for instance
|
||||
nixos-rebuild switch --flake .#spectre
|
||||
nixos-rebuild switch --flake .#Nixtre
|
||||
```
|
||||
to apply the configuration.
|
||||
|
||||
### Using `nh`
|
||||
Updating from a local config is now easy - since `nh` is already specified as installed:
|
||||
```
|
||||
nix flake update
|
||||
nh os switch .
|
||||
```
|
||||
|
||||
|
||||
### Installer iso
|
||||
To build an installer iso, run
|
||||
```bash
|
||||
@@ -38,11 +46,32 @@ nix build .#nixosConfigurations.bcachefs-iso.config.system.build.isoImage
|
||||
This will create an iso image in the result directory.
|
||||
|
||||
|
||||
## Installation
|
||||
TODO - disable root user
|
||||
```
|
||||
I install with --no-root-passwd and set users.mutableUsers = false in configuration.nix
|
||||
```
|
||||
|
||||
## TODO
|
||||
- Have a wofi power menu with https://github.com/RiteshChepuri/wofi-scripts/blob/main/wofi-power-menu
|
||||
|
||||
|
||||
|
||||
|
||||
## Inspirations
|
||||
- https://github.com/the-nix-way/dev-templates
|
||||
- https://fasterthanli.me/series/building-a-rust-service-with-nix/part-10
|
||||
- https://ianthehenry.com/posts/how-to-learn-nix/profiles/
|
||||
- https://ianthehenry.com/posts/how-to-learn-nix/profiles
|
||||
- https://github.com/JohnRTitor/nix-conf
|
||||
- https://github.com/mwaldleben/nix-config
|
||||
- https://github.com/anotherhadi/nixy
|
||||
- https://github.com/Numb-0/nix-0
|
||||
- https://github.com/Frost-Phoenix/nixos-config
|
||||
- https://github.com/elifouts/Dotfiles
|
||||
- https://github.com/nomadics9/nixcfg
|
||||
- https://github.com/Daholli/nixos-config
|
||||
- https://github.com/khaneliman/khanelinix
|
||||
- https://github.com/NotAShelf/nyx
|
||||
- https://copeberg.org/bloxx12/nichts
|
||||
- https://github.com/fufexan/dotfiles
|
||||
- https://github.com/spikespaz/dotfiles
|
||||
|
Reference in New Issue
Block a user