Created
October 2, 2017 20:05
-
-
Save bobvanderlinden/0c6914310f56a691cb12e00c8bca7059 to your computer and use it in GitHub Desktop.
Gogs test configuration
This file contains hidden or 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
| { config, pkgs, ... }: | |
| { | |
| virtualisation.graphics = false; | |
| services.mingetty.autologinUser = "root"; | |
| boot.loader.grub.device = "/dev/sda"; | |
| networking.firewall.enable = false; | |
| services.gogs = { | |
| enable = true; | |
| }; | |
| } |
This file contains hidden or 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
| NIX_PATH=nixpkgs=$PWD NIXOS_CONFIG=$PWD/configuration.nix nixos-rebuild build-vm && ./result/bin/run-*-vm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment