meta: Dump changes

This commit is contained in:
2022-06-15 19:43:12 +02:00
parent 136c3a2340
commit eb8670c04f
14 changed files with 269 additions and 235 deletions

View File

@@ -21,8 +21,9 @@ in {
})
steam-wrapped # Custom package
gamescope
# Broken
# gamescope
corectrl
];

View File

@@ -39,7 +39,6 @@ in {
# For config
dconf # For home-manager
];
gnome.excludePackages = pkgs.gnome.optionalPackages;
};
services = {
@@ -72,10 +71,6 @@ in {
libinput.enable = true;
desktopManager.gnome.enable = true;
displayManager.gdm = {
enable = true;
wayland = true;
};
};
};

View File

@@ -0,0 +1,26 @@
{ pkgs, config, lib, ... }:
let
cfg = config.ptw.services.sddm;
in {
options.ptw.services.sddm = {
enable = lib.mkEnableOption "Enable SDDM as a display manager";
monitors = lib.mkOption {
description = "The file to use as a monitors.xml";
};
};
config = lib.mkIf cfg.enable {
assertions = [
{
assertion = config.ptw.services.gdm.enable == false;
message = "Having two display managers is a bad idea";
}
];
services.xserver.displayManager.sddm = {
enable = true;
autoNumlock = true;
};
};
}