Modular, context-aware and aspect-oriented dendritic Nix configurations. Discussions: https://oeiuwq.zulipchat.com/join/nqp26cd4kngon6mo3ncgnuap/
at main 22 lines 506 B view raw
1# enables `nix run .#vm`. it is very useful to have a VM 2# you can edit your config an launch the VM to test stuff 3# instead of having to reboot each time. 4{ inputs, eg, ... }: 5{ 6 7 den.aspects.igloo.includes = [ 8 eg.vm._.gui 9 # eg.vm._.tui 10 ]; 11 12 perSystem = 13 { pkgs, ... }: 14 { 15 packages.vm = pkgs.writeShellApplication { 16 name = "vm"; 17 text = '' 18 ${inputs.self.nixosConfigurations.igloo.config.system.build.vm}/bin/run-igloo-vm "$@" 19 ''; 20 }; 21 }; 22}