Merge branch 'main' into teutat3s

This commit is contained in:
teutat3s 2021-11-19 00:52:10 +01:00
commit 54044ed31a
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1
4 changed files with 10 additions and 2 deletions

View file

@ -11,6 +11,11 @@ in
type = types.nullOr types.str;
default = "nixos";
};
description = mkOption {
description = "User description";
type = types.nullOr types.str;
default = "The main PubSolarOS user";
};
password = mkOption {
description = "User password";
type = types.nullOr types.str;

View file

@ -15,6 +15,9 @@ channels: final: prev: {
nomad
rage
signal-desktop
starship
deploy-rs
tdesktop
xdg-desktop-portal
xdg-desktop-portal-gtk
xdg-desktop-portal-wlr

View file

@ -15,7 +15,7 @@ in
# This automatically sets group to users, createHome to true,
# home to /home/username, useDefaultShell to true, and isSystemUser to false.
isNormalUser = true;
description = "";
description = psCfg.user.description;
extraGroups = [ "wheel" "docker" "input" "audio" "video" "networkmanager" "lp" "scanner" ];
initialHashedPassword = if psCfg.user.password != null then psCfg.user.password else "";
shell = pkgs.zsh;