My NixOS configuration files
Find a file
2024-06-07 22:08:54 +01:00
colmena Rename services directory to common 2024-06-05 23:30:24 +01:00
common [tohru] Install Microsoft core web fonts 2024-06-07 22:08:37 +01:00
home [tohru] Stop GNOME overriding VS Code keybindings for Copy Line Up/Down 2024-06-07 22:08:54 +01:00
hosts [tohru] Install Microsoft core web fonts 2024-06-07 22:08:37 +01:00
npins nixos 24.05, home-manager 24.05, update npins 2024-06-04 15:32:09 +01:00
users Sync Git identity across all hosts 2024-06-05 21:23:22 +01:00
.gitignore Initial commit 2024-05-23 15:01:57 +00:00
hive.nix Add common CLI utilities I want everywhere 2024-06-07 16:33:46 +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 Fill out readme 2024-06-06 00:23:19 +01:00

nixfiles

My NixOS configuration files.

Machines

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

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.