lemp11: use GNOME and don't hibernate when the lid

...is closed but there is external power
This commit is contained in:
Oliver Davies 2024-12-26 20:03:43 +00:00
parent 675f4c6d92
commit ad08679bf2
3 changed files with 126 additions and 114 deletions

View file

@ -112,6 +112,9 @@
layout = "gb";
variant = "";
};
displayManager.gdm.enable = true;
desktopManager.gnome.enable = true;
};
# Configure console keymap

View file

@ -8,6 +8,7 @@
features = {
desktop = {
gaming.enable = true;
i3.enable = true;
peek.enable = true;
};
};

View file

@ -1,17 +1,24 @@
{
config,
inputs,
lib,
pkgs,
self,
username,
...
}:
with lib;
let
theme = import "${self}/nix/lib/theme" { inherit pkgs; };
modifier = "Mod4";
in
{
options.features.desktop.i3.enable = mkEnableOption "Enable i3";
config = mkIf config.features.desktop.i3.enable {
services = {
cron = {
enable = true;
@ -146,4 +153,5 @@ in
settings.global.follow = "keyboard";
};
};
};
}