nixos-config/README.md

660 B

Felixalbs nixos config

Contains configurations for some nixos servers, some nixos desktops and a nix-darwin host. Secrets are managed with sops-nix.

Build:

  • Build locally on another machine:
nix --extra-experimental-features "nix-command flakes" build ".#nixosConfigurations.sarek.config.system.build.toplevel"

(replace "sarek" with the hostname)

  • Build, install and switch on the actual target
nixos-rebuild switch --update-input nixpkgs --update-input unstable --no-write-lock-file --refresh --flake github+felixalbrigtsen/nixos-server-conf.git --upgrade