Set GDDM as Ludwig login manager

This commit is contained in:
GHOSCHT 2024-05-24 14:04:03 +02:00
parent a1a5d9a90c
commit 42bf9fba59
Signed by: ghoscht
GPG key ID: 2C2C1C62A5388E82
3 changed files with 3 additions and 9 deletions

View file

@ -3,10 +3,6 @@
{ {
inputs, inputs,
outputs, outputs,
lib,
config,
pkgs,
heliox-cli,
... ...
}: { }: {
# You can import other NixOS modules here # You can import other NixOS modules here
@ -41,7 +37,6 @@
../common/optional/udisks.nix ../common/optional/udisks.nix
]; ];
nixpkgs = { nixpkgs = {
# You can add overlays here # You can add overlays here
overlays = [ overlays = [
@ -73,6 +68,8 @@
services.udev.packages = [inputs.heliox-cli.packages.x86_64-linux.default]; services.udev.packages = [inputs.heliox-cli.packages.x86_64-linux.default];
environment.systemPackages = [inputs.heliox-cli.packages.x86_64-linux.default]; environment.systemPackages = [inputs.heliox-cli.packages.x86_64-linux.default];
displayManager.sddm.enable = true;
# Force disable Nvidia PRIME, needed by nix-hardware # Force disable Nvidia PRIME, needed by nix-hardware
hardware.nvidia.prime.offload.enable = false; hardware.nvidia.prime.offload.enable = false;

View file

@ -13,8 +13,4 @@
environment.profileRelativeSessionVariables = { environment.profileRelativeSessionVariables = {
QT_PLUGIN_PATH = ["/lib/qt-6/plugins"]; QT_PLUGIN_PATH = ["/lib/qt-6/plugins"];
}; };
services.xserver = {
displayManager.sddm.enable = true;
};
} }

View file

@ -63,6 +63,7 @@
networking.hostName = "ludwig"; networking.hostName = "ludwig";
services.xserver.displayManager.gdm.enable = true;
programs = { programs = {
adb.enable = true; adb.enable = true;
dconf.enable = true; dconf.enable = true;