17457297cb
I.e., modules that use "require = [options]". Nowadays that should be written as { options = { ... }; config = { ... }; }; Also, use "imports" instead of "require" in places where we actually import another module.
16 lines
327 B
Nix
16 lines
327 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
imports = [ ./graphical.nix ];
|
|
|
|
users.extraUsers.demo =
|
|
{ description = "Demo user account";
|
|
group = "users";
|
|
extraGroups = [ "wheel" ];
|
|
home = "/home/demo";
|
|
createHome = true;
|
|
useDefaultShell = true;
|
|
password = "demo";
|
|
isSystemUser = false;
|
|
};
|
|
}
|