Skip to content

Latest commit

 

History

History
119 lines (84 loc) · 2.96 KB

README.md

File metadata and controls

119 lines (84 loc) · 2.96 KB

mccurdyc nixos-config

Inspiration

References

NixOS

Nixpkgs

Nix-Darwin

Home-manager

Nix

Other

Installation Docs

Common Commands

faamac Rebuild

darwin-rebuild switch --flake '.#faamac'

fgnix Rebuild

sudo nixos-rebuild switch --flake '.#fgnix'
# nixos-rebuild switch --flake 'github:mccurdyc/nixos-config#fgnix'

Update Flake

nix flake update --commit-lock-file

Formatting

nix fmt

Testing

Automated

nix build '.#fgnix'

VM

sudo nixos-rebuild build-vm --flake '.#fgnix'
./nix/store/<hash>-nixos-vm/bin/run-fgnix-vm

Interactive (debugging tests)

nix build '.#packages.x86_64-linux.fgnix.driver'
./result/bin/nixos-test-driver --interactive
(repl) fgnix.start()
(repl) fgnix.shell_interact()