Created
May 26, 2020 16:11
-
-
Save stigtsp/3635c0885997fdfddd2812c7f7284898 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For testing services, etc. this forwards port 3000 from localhost to the container | |
# | |
# env QEMU_NET_OPTS="hostfwd=tcp::3000-:3000" NIX_PATH=nixpkgs=$HOME/nixpkgs nixos-shell | |
# | |
{ pkgs, ... }: { | |
boot.kernelPackages = pkgs.linuxPackages_latest; | |
nixos-shell.mounts = { | |
mountHome = false; | |
mountNixProfile = false; | |
cache = "none"; # default is "loose" | |
}; | |
services.convos.enable=true; | |
} |
CTRL-A X to shut down the qemu machine
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
s/container/vm/