Felix Albrigtsen c5071291c2 | ||
---|---|---|
common | ||
home | ||
hosts | ||
secrets | ||
shells | ||
.gitignore | ||
.sops.yaml | ||
README.md | ||
base.nix | ||
flake.lock | ||
flake.nix | ||
shell.nix |
README.md
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