My NixOS configuration files
Find a file
2024-08-05 02:47:42 +01:00
common zsh: remove redundant config lines 2024-08-05 02:07:17 +01:00
deployment deployment: remove redundant import 2024-08-05 02:31:18 +01:00
home vscode: switch theme to gruvbox 2024-08-02 12:01:23 +01:00
hosts tohru: rearrange files 2024-08-05 02:47:42 +01:00
npins npins update 2024-07-25 18:34:59 +01:00
secrets tohru, orm: tidy up vestigial wireguard config 2024-07-25 08:06:32 +01:00
services birdsong: move to external module 2024-07-25 10:04:35 +01:00
.gitignore Initial commit 2024-05-23 15:01:57 +00:00
hive.nix deployment: rename from colmena (for potential change in stack) 2024-08-05 02:29:28 +01:00
keys.nix users: add randomcat 2024-07-09 22:16:37 +01:00
LICENSE Initial commit 2024-05-23 15:01:57 +00:00
pinning.nix Move <nixpkgs> pin to separate file 2024-06-05 20:43:04 +01:00
README.md Update README.md 2024-07-19 20:24:02 +01:00
secrets.nix tohru, orm: tidy up vestigial wireguard config 2024-07-25 08:06:32 +01:00

nixfiles

My NixOS configuration files.

The canonical location for this repository is https://git.qenya.tel/qenya/nixfiles. If you're viewing it elsewhere, it is a mirror and may not be up-to-date.

Machines

In this config

  • tohru: Dell Latitude 5300, personal laptop
  • yevaud: Oracle Cloud free AMD VM, hosts a Forgejo instance
  • orm: Oracle Cloud free AMD VM, WireGuard server for the other machines in the network

Referenced only

Usage

Building

To build locally, run colmena apply-local as root.

To build the remote machines, run colmena apply. See the colmena documentation for command-line options. Notable options include:

  • --on [hostname]: build a specific machine only
  • --reboot: reboot after building (but note this bug means it may hang even when the reboot completes successfully)

Updating

Run npins update to update the dependencies within the currently selected upgrade channels.

To upgrade to a new major version of a dependency, simply re-add it and the old version will be overwritten, e.g.:

npins add --name nixpkgs channel nixos-unstable

In either case, commit the changes to npins/sources.json.

See the npins documentation for more details.