My NixOS configuration files
Find a file
2024-07-19 20:04:12 +01:00
colmena add/rearrange packages 2024-07-19 20:04:12 +01:00
common add/rearrange packages 2024-07-19 20:04:12 +01:00
home add/rearrange packages 2024-07-19 20:04:12 +01:00
hosts add/rearrange packages 2024-07-19 20:04:12 +01:00
npins
secrets wireguard: initial setup 2024-07-19 19:26:36 +01:00
services tohru: install evolution 2024-07-18 23:28:16 +01:00
.gitignore
hive.nix rearrange files 2024-07-18 23:22:35 +01:00
keys.nix
LICENSE
pinning.nix
README.md
secrets.nix wireguard: initial setup 2024-07-19 19:26:36 +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

  • tohru: Dell Latitude 5300, personal laptop
  • yevaud: Oracle Cloud free AMD VM, hosts a Forgejo instance
  • orm: Oracle Cloud free AMD VM, currently idling

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.