Main source for configuration and dotfiles, describing every host and every service in my nixos homelab.
common | ||
home | ||
hosts | ||
secrets | ||
shells | ||
.gitignore | ||
.sops.yaml | ||
base.nix | ||
flake.lock | ||
flake.nix | ||
README.md | ||
shell.nix |
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