Something went wrong. Try again.
My nixos configuration
Something went wrong. Try again.
545 B · 21 lines
Nix
at main
12345678910111213141516171819202122{ inputs, den, ... }:{ # USER TODO: remove this tty-autologin used for the VM den.aspects.flock.includes = [ (den.batteries.tty-autologin "igneous") ];
perSystem = { pkgs, ... }: { packages.vm = pkgs.writeShellApplication { name = "vm"; text = let host = inputs.self.nixosConfigurations.flock.config; in '' export QEMU_OPTS="-m 8192 -smp 4" ${host.system.build.vm}/bin/run-${host.networking.hostName}-vm "$@" ''; }; };}