mirror of
https://code.dumpstack.io/tools/appvm.git
synced 2024-11-16 09:13:01 +00:00
30 lines
662 B
Nix
30 lines
662 B
Nix
{config, pkgs, ...}:
|
|
{
|
|
imports = [
|
|
<nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix>
|
|
];
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
chromium
|
|
];
|
|
|
|
services.xserver = {
|
|
enable = true;
|
|
desktopManager.xterm.enable = false;
|
|
displayManager.slim = {
|
|
enable = true;
|
|
defaultUser = "user";
|
|
autoLogin = true;
|
|
};
|
|
displayManager.sessionCommands = "while [ 1 ]; do ${pkgs.chromium}/bin/chromium; done &";
|
|
windowManager.xmonad.enable = true;
|
|
windowManager.default = "xmonad";
|
|
};
|
|
|
|
users.extraUsers.user = {
|
|
isNormalUser = true;
|
|
extraGroups = [ "audio" ];
|
|
createHome = true;
|
|
};
|
|
}
|