Skip to content

Commit

Permalink
fix(nix): rename of libinput module options
Browse files Browse the repository at this point in the history
  • Loading branch information
EdenEast committed Sep 1, 2024
1 parent 30c589a commit e9c5514
Showing 1 changed file with 19 additions and 16 deletions.
35 changes: 19 additions & 16 deletions system/nixos/profiles/desktop/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@ in
};

# Desktop environment flavor
services.xserver = {
enable = true;
xkb.layout = "us";
services = {
libinput = mkIf cfg.laptop {
enable = true;
touchpad = {
Expand All @@ -62,19 +60,24 @@ in
};
};

displayManager = {
lightdm.enable = cfg.flavor != "gnome";
gdm.enable = cfg.flavor == "gnome";
# session = [
# {
# name = "home-manager";
# manage = "window";
# start = ''
# ${pkgs.runtimeShell} $HOME/.hm-xsession &
# waitPID=$!
# '';
# }
# ];
xserver = {
enable = true;
xkb.layout = "us";

displayManager = {
lightdm.enable = cfg.flavor != "gnome";
gdm.enable = cfg.flavor == "gnome";
# session = [
# {
# name = "home-manager";
# manage = "window";
# start = ''
# ${pkgs.runtimeShell} $HOME/.hm-xsession &
# waitPID=$!
# '';
# }
# ];
};
};
};

Expand Down

0 comments on commit e9c5514

Please sign in to comment.