Created
November 27, 2018 06:06
-
-
Save jhburns/3e77b9410ef25c67ea52db45322fb45b to your computer and use it in GitHub Desktop.
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, ... }: | |
{ | |
imports = [ <nixpkgs/nixos/modules/installer/virtualbox-demo.nix> | |
]; | |
programs.fish.enable = true; | |
users.extraUsers.demo = { | |
shell = "/run/current-system/sw/bin/fish"; | |
}; | |
users.users.demo = { | |
isNormalUser = true; | |
home = "/home/demo"; | |
extraGroups = [ "wheel" "networkmanager" "docker"]; | |
openssh.authorizedKeys.keys = [ "ssh-dss AAAAB3Nza... | |
demo@foobar" ]; | |
}; | |
security.sudo.wheelNeedsPassword = false; | |
environment.systemPackages = [ | |
pkgs.gnome3.gedit | |
pkgs.bind | |
pkgs.docker_compose | |
pkgs.git | |
]; | |
virtualisation.docker.enable = true; | |
services.traefik.group = "docker"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment