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}One desktop is supported via settings.gui: plasma.
The table below maps core desktop functionality to how this environment provides it.
| Requirement | Plasma |
|---|---|
| Status bar | built-in |
| App launcher | Kickoff |
| Notifications | built-in |
| Screen lock | built-in |
| Idle / sleep | built-in |
| Volume / OSD | built-in |
| Brightness / OSD | built-in |
| Wallpaper | built-in |
| Network management | built-in |
| Bluetooth management | built-in |
| Display layout | built-in |
| System tray | built-in |
| Polkit agent | built-in |
| Screenshot | Spectacle |
| Clipboard | built-in |
| XDG portals | built-in |
| Color scheme | KDE theming |
| Secret storage | KWallet |
Battery charge thresholds are managed in BIOS/firmware (vendor power settings), not in NixOS services.
This keeps charging behavior consistent regardless of OS state. Desktop session power behavior remains handled by Plasma.