mirror of
https://git.feal.no/felixalb/nixos-config.git
synced 2024-12-22 12:07:29 +01:00
My configuration/dotfiles, containing every host and every service in my nixos network.
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