SHARE
TWEET

Untitled

a guest Jun 9th, 2019 113 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   GNU nano 3.2                                                                                         network.nix                                                                                                  
  2.  
  3. {
  4.   webserver = { config, pkgs, ... }:
  5.   {
  6.     deployment = {
  7.       targetEnv = "virtualbox";
  8.     };
  9.  
  10.     environment.systemPackages = with pkgs; [xorg.xinit];
  11.  
  12.     services.xserver.enable = true;
  13.     services.xserver.desktopManager.plasma5.enable = true;
  14.     services.xserver.displayManager.slim.enable = true;
  15.     services.xserver.autorun = true;
  16.  
  17.  
  18.  
  19. /*
  20.     services.xserver.enable = true;
  21.  
  22.     desktopManager = {
  23.       default = "none";
  24.       xterm.enable = false;
  25.     };
  26.  
  27.  
  28.     services.xserver.displayManager.gdm.enable = true;
  29.     services.xserver.displayManager.gdm.wayland = true;
  30.     services.xserver.windowManager.fluxbox.enable = true;
  31. */
  32.     users.users.jane = {
  33.      isNormalUser = true;
  34.      extraGroups = [ "wheel" "networkmanager" "vboxusers"]; # Enable ‘sudo’ for the user.
  35.      password = "1";
  36.     };
  37.  
  38.  
  39.   };
  40. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top