ft: moved cables.sh into nix
This commit is contained in:
@@ -11,7 +11,7 @@ NixOS configuration for my three main machines (nixbook, nixpad, tuxcomp).
|
||||
| `flake.nix` | Inputs + one nixosConfigurations entry per hostname. |
|
||||
| `hosts/<hostname>/` | Configuration unique to each machine: hardware, wireguard tunnels. `hardware-configuration.nix` should not be edited as these are generated by `nixos-generate-config`. |
|
||||
| `modules/` | Everything shared; one file/folder per feature. |
|
||||
| `secrets/` | sops-encrypted files + the only place `sops.secrets` are declared. |
|
||||
| `secrets/` | Sops-encrypted files + the only place `sops.secrets` are declared. |
|
||||
| `patches/` | Custom patches, currently only a gamescope patch. |
|
||||
|
||||
Each modules feature sets the required system options and packages.
|
||||
@@ -28,8 +28,7 @@ make update # update flake.lock
|
||||
nix fmt # format the Nix files (nixfmt)
|
||||
```
|
||||
|
||||
Do not run the above commands as root.
|
||||
nixos-rebuild asks for the sudo password when it activates.
|
||||
Run the above commmands as normal user.
|
||||
Generations older than 30 days are garbage-collected weekly.
|
||||
|
||||
## Secrets
|
||||
|
||||
Reference in New Issue
Block a user