forked from pub-solar/os
Merge branch 'main' into teutat3s
This commit is contained in:
commit
54044ed31a
|
@ -11,6 +11,11 @@ in
|
||||||
type = types.nullOr types.str;
|
type = types.nullOr types.str;
|
||||||
default = "nixos";
|
default = "nixos";
|
||||||
};
|
};
|
||||||
|
description = mkOption {
|
||||||
|
description = "User description";
|
||||||
|
type = types.nullOr types.str;
|
||||||
|
default = "The main PubSolarOS user";
|
||||||
|
};
|
||||||
password = mkOption {
|
password = mkOption {
|
||||||
description = "User password";
|
description = "User password";
|
||||||
type = types.nullOr types.str;
|
type = types.nullOr types.str;
|
||||||
|
|
|
@ -15,6 +15,9 @@ channels: final: prev: {
|
||||||
nomad
|
nomad
|
||||||
rage
|
rage
|
||||||
signal-desktop
|
signal-desktop
|
||||||
|
starship
|
||||||
|
deploy-rs
|
||||||
|
tdesktop
|
||||||
xdg-desktop-portal
|
xdg-desktop-portal
|
||||||
xdg-desktop-portal-gtk
|
xdg-desktop-portal-gtk
|
||||||
xdg-desktop-portal-wlr
|
xdg-desktop-portal-wlr
|
||||||
|
|
|
@ -15,7 +15,7 @@ in
|
||||||
# This automatically sets group to users, createHome to true,
|
# This automatically sets group to users, createHome to true,
|
||||||
# home to /home/username, useDefaultShell to true, and isSystemUser to false.
|
# home to /home/username, useDefaultShell to true, and isSystemUser to false.
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "";
|
description = psCfg.user.description;
|
||||||
extraGroups = [ "wheel" "docker" "input" "audio" "video" "networkmanager" "lp" "scanner" ];
|
extraGroups = [ "wheel" "docker" "input" "audio" "video" "networkmanager" "lp" "scanner" ];
|
||||||
initialHashedPassword = if psCfg.user.password != null then psCfg.user.password else "";
|
initialHashedPassword = if psCfg.user.password != null then psCfg.user.password else "";
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
|
|
|
@ -49,7 +49,7 @@ let
|
||||||
CARGO_HOME = "${xdg.dataHome}/cargo";
|
CARGO_HOME = "${xdg.dataHome}/cargo";
|
||||||
|
|
||||||
# Java
|
# Java
|
||||||
_JAVA_OPTIONS = "-Djava.util.prefs.userRoot = '${xdg.configHome}/java'";
|
_JAVA_OPTIONS = "-Djava.util.prefs.userRoot='${xdg.configHome}/java'";
|
||||||
_JAVA_AWT_WM_NONREPARENTING = "1";
|
_JAVA_AWT_WM_NONREPARENTING = "1";
|
||||||
|
|
||||||
# docker
|
# docker
|
||||||
|
|
Loading…
Reference in a new issue