A set of opinionated configurations to both NixOS
and nix-darwin
. Home environment is managed with usertam/nixfiles-home.
git clone git@github.com:usertam/nixfiles.git ~/Desktop/projects/nixfiles
cd ~/Desktop/projects/nixfiles
Use nixos-rebuild
, or manually build and activate with nix
.
nixos-rebuild switch --flake .#base.aarch64-linux
nix build .#nixosConfigurations.base.aarch64-linux.config.system.build.toplevel
result/bin/switch-to-configuration switch
Use darwin-rebuild
, or run two activation scripts.
darwin-rebuild switch --flake .#gale
nix build .#darwinConfigurations.gale.config.system.build.toplevel
result/activate-user && result/activate
nix flake update --commit-lock-file
This project is licensed under the MIT License. See LICENSE for more information.