Option to disable use of display manager (slightly broken)
This commit is contained in:
parent
e2049d9ad1
commit
7957f18ecf
|
@ -104,6 +104,7 @@
|
|||
graphical = mkNixOsGraphical {
|
||||
inherit pkgs;
|
||||
background = "pan-wire-3.png";
|
||||
use-display-manager = false;
|
||||
};
|
||||
networking = mkNixOsNetworking { inherit pkgs; };
|
||||
|
||||
|
@ -166,6 +167,7 @@
|
|||
graphical = mkNixOsGraphical {
|
||||
inherit pkgs;
|
||||
background = "pan-wire-3.png";
|
||||
use-display-manager = true;
|
||||
};
|
||||
coral =
|
||||
let
|
||||
|
|
|
@ -1,14 +1,18 @@
|
|||
{
|
||||
pkgs,
|
||||
background-image ? "pan-wire-3.png",
|
||||
use-display-manager,
|
||||
...
|
||||
}:
|
||||
let start-plasma-shortcut = pkgs.writeScriptBin "desktop" ''
|
||||
${pkgs.plasma-workspace}/libexec/plasma-dbus-run-session-if-needed ${pkgs.plasma-workspace}/bin/startplasma-wayland
|
||||
'';
|
||||
in
|
||||
{
|
||||
# Enable the X11 windowing system.
|
||||
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
displayManager.lightdm.enable = true;
|
||||
|
||||
displayManager.lightdm.enable = use-display-manager;
|
||||
|
||||
xkb = {
|
||||
layout = "fox";
|
||||
|
@ -22,11 +26,11 @@
|
|||
};
|
||||
};
|
||||
|
||||
hardware.opengl.enable = true;
|
||||
|
||||
services.desktopManager.plasma6.enable = true;
|
||||
services.displayManager.defaultSession = "plasma";
|
||||
|
||||
hardware.opengl.enable = true;
|
||||
|
||||
console.useXkbConfig = true;
|
||||
|
||||
sound.enable = false; # let pipewire handle sound
|
||||
|
@ -51,5 +55,6 @@
|
|||
|
||||
firefox
|
||||
glxinfo
|
||||
start-plasma-shortcut
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user