lemp11: use GNOME and don't hibernate when the lid
...is closed but there is external power
This commit is contained in:
parent
675f4c6d92
commit
ad08679bf2
|
@ -112,6 +112,9 @@
|
|||
layout = "gb";
|
||||
variant = "";
|
||||
};
|
||||
|
||||
displayManager.gdm.enable = true;
|
||||
desktopManager.gnome.enable = true;
|
||||
};
|
||||
|
||||
# Configure console keymap
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
features = {
|
||||
desktop = {
|
||||
gaming.enable = true;
|
||||
i3.enable = true;
|
||||
peek.enable = true;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue