Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 497 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 497 Bytes

nixos-configuration

Much better than a .dotfiles repo

Home manager

"$(nix-build home-manager-entry.nix --no-out-link)/activate"

NixOS

sudo nix-env \
  --profile /nix/var/nix/profiles/system \
  --set "$(nix-build nixos-entry.nix -A system --no-out-link)"
sudo /nix/var/nix/profiles/system/bin/switch-to-configuration switch

Also

nixos-option \
  --options_expr '(import ./nixos-entry.nix).options' \
  --config_expr '(import ./nixos-entry.nix).config'