Logo
Explore Help
Sign In
public/nixpkgs
1
0
Fork 0
You've already forked nixpkgs
Code Issues Pull Requests Packages Projects Releases Wiki Activity
nixpkgs/nixos/modules/profiles/demo.nix

14 lines
239 B
Nix
Raw Normal View History

Add a demo account to the VirtualBox image
2013-07-02 00:55:54 +02:00
{ config, pkgs, ... }:
{
Update all legacy-style modules 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.
2013-09-04 13:05:09 +02:00
imports = [ ./graphical.nix ];
Add a demo account to the VirtualBox image
2013-07-02 00:55:54 +02:00
users.extraUsers.demo =
Add user attribute isNormalUser This is shorthand for setting group, createHome, home, useDefaultShell and isSystemUser.
2014-08-15 02:07:43 +02:00
{ isNormalUser = true;
description = "Demo user account";
Add a demo account to the VirtualBox image
2013-07-02 00:55:54 +02:00
extraGroups = [ "wheel" ];
password = "demo";
remove references to isSystemUser and fix eval of tested job
2014-02-08 21:09:48 +01:00
uid = 1000;
Add a demo account to the VirtualBox image
2013-07-02 00:55:54 +02:00
};
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 180ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API