forked from Yuka/c3h-nixfiles
26 lines
516 B
Nix
26 lines
516 B
Nix
|
{ pkgs, ... }:
|
||
|
|
||
|
{
|
||
|
users.mutableUsers = false;
|
||
|
users.users.nuc = {
|
||
|
isNormalUser = true;
|
||
|
password = "c3h";
|
||
|
extraGroups = [ "wheel" ];
|
||
|
packages = with pkgs; [ chromium firefox mpv youtube-dl ];
|
||
|
};
|
||
|
|
||
|
services.xserver = {
|
||
|
enable = true;
|
||
|
layout = "de";
|
||
|
|
||
|
videoDrivers = [ "modesetting" ];
|
||
|
useGlamor = true;
|
||
|
|
||
|
displayManager.lightdm.enable = true;
|
||
|
displayManager.autoLogin.enable = true;
|
||
|
displayManager.autoLogin.user = "nuc";
|
||
|
|
||
|
desktopManager.mate.enable = true;
|
||
|
};
|
||
|
}
|