Sha256: cbcd43eb7a00d27b8d67381f4b0c3af4b721b0f761862ddb2b53fb50ed932622

Contents?: true

Size: 1.63 KB

Versions: 12

Compression:

Stored size: 1.63 KB

Contents

{ config, pkgs, ... }:
{
  require = [ <nixos/modules/installer/scan/not-detected.nix> ];
  boot = {
    initrd.kernelModules = [ "ata_piix" "ahci" ];
    loader.grub.device   = "/dev/sda";
  };
  environment.systemPackages = with pkgs; [ git ruby rubygems gnumake gcc ];
  fileSystems = [ { mountPoint = "/"; label = "nixos"; } ];
  security.sudo.configFile =
    ''
      Defaults:root,%wheel env_keep+=LOCALE_ARCHIVE
      Defaults:root,%wheel env_keep+=NIX_PATH
      Defaults:root,%wheel env_keep+=TERMINFO_DIRS
      Defaults env_keep+=SSH_AUTH_SOCK
      Defaults lecture = never
      root   ALL=(ALL) SETENV: ALL
      %wheel ALL=(ALL) NOPASSWD: ALL, SETENV: ALL
    '';
  services = {
    dbus.enable       = true;
    openssh.enable    = true;
    virtualbox.enable = true;
  };
  users = {
    extraGroups = [ { name = "vagrant"; } { name = "vboxsf"; } ];
    extraUsers  = [ {
      description     = "Vagrant User";
      name            = "vagrant";
      group           = "vagrant";
      extraGroups     = [ "users" "vboxsf" "wheel" ];
      password        = "vagrant";
      home            = "/home/vagrant";
      createHome      = true;
      useDefaultShell = true;
      openssh.authorizedKeys.keys = [
        "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6NF8iallvQVp22WDkTkyrtvp9eWW6A8YVr+kz4TjGYe7gHzIw+niNltGEFHzD8+v1I2YJ6oXevct1YeS0o9HZyN1Q9qgCgzUFtdOKLv6IedplqoPkcmF0aYet2PkEDo3MlTBckFXPITAMzF8dJSIFo9D8HfdOV0IAdx4O7PtixWKn5y2hMNG0zQPyUecp4pzC6kivAIhyfHilFR61RGL+GPXQ2MWZWFYbAGjyiYJnAmCP3NOTd0jMZEnDkbUvxhMmBYSdETk1rRgm+R4LOzFUGaHqHDLKLX+FIPKcF96hrucXzcWyLbIbEgE98OHlnVYCzRdK8jlqm8tehUc9c9WhQ== vagrant insecure public key"
      ];
    } ];
  };
}

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
veewee-0.5.0.alpha4 templates/nixos64/configuration.nix
veewee-0.5.0.alpha3 templates/nixos64/configuration.nix
veewee-0.5.0.alpha2 templates/nixos64/configuration.nix
veewee-0.5.0.alpha1 templates/nixos64/configuration.nix
veewee-0.4.5.1 templates/nixos64/configuration.nix
veewee-0.4.5 templates/nixos64/configuration.nix
veewee-0.4.5.pre1 templates/nixos64/configuration.nix
veewee-0.4.4 templates/nixos64/configuration.nix
veewee-0.4.3 templates/nixos64/configuration.nix
veewee-0.4.2 templates/nixos64/configuration.nix
veewee-0.4.1 templates/nixos64/configuration.nix
veewee-0.4.0 templates/nixos64/configuration.nix