mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 08:53:56 -05:00
fix xserver.displayManager warnings
thanks sandro
This commit is contained in:
parent
46a29bf761
commit
ae5cd16c1a
5 changed files with 44 additions and 41 deletions
|
|
@ -33,6 +33,8 @@
|
||||||
|
|
||||||
services.gvfs.enable = true;
|
services.gvfs.enable = true;
|
||||||
|
|
||||||
|
services.displayManager.defaultSession = "none+dwm";
|
||||||
|
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
displayManager = {
|
displayManager = {
|
||||||
|
|
@ -42,7 +44,6 @@
|
||||||
systemctl --user start sxhkd
|
systemctl --user start sxhkd
|
||||||
systemctl --user start picom
|
systemctl --user start picom
|
||||||
'';
|
'';
|
||||||
defaultSession = "none+dwm";
|
|
||||||
};
|
};
|
||||||
windowManager.session = [
|
windowManager.session = [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -42,10 +42,12 @@ _:
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.xserver = {
|
services = {
|
||||||
enable = true;
|
|
||||||
desktopManager.gnome.enable = true;
|
|
||||||
displayManager.defaultSession = "gnome";
|
displayManager.defaultSession = "gnome";
|
||||||
|
xserver = {
|
||||||
|
enable = true;
|
||||||
|
desktopManager.gnome.enable = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
#_file
|
#_file
|
||||||
|
|
|
||||||
|
|
@ -10,11 +10,13 @@ _:
|
||||||
|
|
||||||
config = lib.mkIf config.local.DE.xfce.enable {
|
config = lib.mkIf config.local.DE.xfce.enable {
|
||||||
environment.systemPackages = [ pkgs.xfce.xfce4-whiskermenu-plugin ];
|
environment.systemPackages = [ pkgs.xfce.xfce4-whiskermenu-plugin ];
|
||||||
services.xserver = {
|
services = {
|
||||||
enable = true;
|
xserver = {
|
||||||
desktopManager.xfce = {
|
|
||||||
enable = true;
|
enable = true;
|
||||||
enableScreensaver = true;
|
desktopManager.xfce = {
|
||||||
|
enable = true;
|
||||||
|
enableScreensaver = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
displayManager.defaultSession = "xfce";
|
displayManager.defaultSession = "xfce";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ _:
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf config.local.DM.autoLogin {
|
config = lib.mkIf config.local.DM.autoLogin {
|
||||||
services.xserver.displayManager = {
|
services.displayManager = {
|
||||||
autoLogin = {
|
autoLogin = {
|
||||||
enable = true;
|
enable = true;
|
||||||
user = config.local.DM.loginUser;
|
user = config.local.DM.loginUser;
|
||||||
|
|
|
||||||
|
|
@ -4,41 +4,39 @@
|
||||||
options.local.DM.lightdm.enable = lib.mkEnableOption "";
|
options.local.DM.lightdm.enable = lib.mkEnableOption "";
|
||||||
|
|
||||||
config = lib.mkIf config.local.DM.lightdm.enable {
|
config = lib.mkIf config.local.DM.lightdm.enable {
|
||||||
services.xserver = {
|
services.xserver.displayManager = {
|
||||||
displayManager = {
|
lightdm = {
|
||||||
lightdm = {
|
enable = true;
|
||||||
|
background = "${self.packages.images}/recursion.png";
|
||||||
|
extraConfig = "minimum-vt=1";
|
||||||
|
greeters.mini = {
|
||||||
enable = true;
|
enable = true;
|
||||||
background = "${self.packages.images}/recursion.png";
|
user = config.local.DM.loginUser;
|
||||||
extraConfig = "minimum-vt=1";
|
extraConfig = ''
|
||||||
greeters.mini = {
|
[greeter]
|
||||||
enable = true;
|
show-password-label = false
|
||||||
user = config.local.DM.loginUser;
|
password-label-text =
|
||||||
extraConfig = ''
|
invalid-password-text =
|
||||||
[greeter]
|
show-input-cursor = false
|
||||||
show-password-label = false
|
password-alignment = center
|
||||||
password-label-text =
|
password-input-width = 19
|
||||||
invalid-password-text =
|
show-image-on-all-monitors = true
|
||||||
show-input-cursor = false
|
|
||||||
password-alignment = center
|
|
||||||
password-input-width = 19
|
|
||||||
show-image-on-all-monitors = true
|
|
||||||
|
|
||||||
|
|
||||||
[greeter-theme]
|
[greeter-theme]
|
||||||
font = "OverpassMono Nerd Font"
|
font = "OverpassMono Nerd Font"
|
||||||
font-size = 1.1em
|
font-size = 1.1em
|
||||||
text-color = "#7AA2F7"
|
text-color = "#7AA2F7"
|
||||||
error-color = "#DB4B4B"
|
error-color = "#DB4B4B"
|
||||||
background-color = "#000000"
|
background-color = "#000000"
|
||||||
window-color = "#000000"
|
window-color = "#000000"
|
||||||
border-color = "#000000"
|
border-color = "#000000"
|
||||||
password-character = -1
|
password-character = -1
|
||||||
password-color = "#7AA2F7"
|
password-color = "#7AA2F7"
|
||||||
password-background-color = "#24283B"
|
password-background-color = "#24283B"
|
||||||
password-border-color = "#000000"
|
password-border-color = "#000000"
|
||||||
password-border-radius = 0.341125em
|
password-border-radius = 0.341125em
|
||||||
'';
|
'';
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue