In this repository I keep my flake based nixos and home-manager configurations. Next to that, there is a configuration to build live-cds.
Home-manager runs as a NixOS module, so a single rebuild applies both system and user configuration.
sudo nixos-rebuild --flake . switchOr using the justfile shorthand:
just switchRan from the root of this repo.
nix build .#nixosConfigurations.baseIso.config.system.build.isoImageAfter a successful build, the iso can be found in result/iso/. Use cp to copy the image to for instance an usb thumb drive.
sudo cp result/iso/nixos-minimal-25.05.20250525.7c43f08-x86_64-linux.iso /dev/sdbDon't forget to replace the destination drive with the proper drive.
The live iso contains ssh public keys, has sshd running and contains nmtui to setup the network. Once the network is up, use nixos-anywhere to install the system:
nix run github:nix-community/nixos-anywhere -- --flake .#${TARGET_HOST} --generate-hardware-config nixos-generate-config hosts/${TARGET_HOST}/hardware-configuration.nix --target-host root@${TARGET_HOST_IP}This repo supports GNOME and headless systems, and defaults to settings.gui = "gnome".
The default terminal multiplexer is Zellij.
Set programs.zellij.enable = false per host/user if you want no multiplexer.
Input remapper is disabled by default because its root-owned daemon can inject global input.
Opt in for a host by setting settings.inputRemapper.enable = true in its shared settings.
Battery charge thresholds are managed in BIOS/firmware (vendor power settings), not in NixOS services.
This keeps charging behavior consistent regardless of OS state.