Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- { config, pkgs, ... }:
- {
- imports = [
- <nixpkgs/nixos/modules/virtualisation/virtualbox-image.nix>
- ];
- nix.nixPath = [ "nixpkgs=/home/demo/nixpkgs" "nixos-config=/etc/nixos/configuration.nix" "/home/demo/nixpkgs" ];
- users.extraUsers.demo = {
- isNormalUser = true;
- description = "Demo user account";
- extraGroups = [ "wheel" "vboxsf" ];
- password = "demo";
- uid = 1000;
- };
- # programs.bash.enableCompletion = true;
- time.timeZone = "America/Chicago";
- # environment.systemPackages = with pkgs; [ firefox chromium emacs git ];
- # services.emacs = {
- # enable = true;
- # defaultEditor = true;
- # };
- system.autoUpgrade.enable = true;
- services.xserver = {
- enable = true;
- desktopManager.gnome3.enable = true;
- displayManager.gdm.enable = true;
- videoDrivers = [ "virtualbox" "vmware" "cirrus" "vesa" "modesetting" ];
- };
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement