aboutsummaryrefslogtreecommitdiff
path: root/nixos/nixosModules/ly.nix
blob: c126493d52ec58a0fddaa137c69636133d7c08e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{ config, lib, ... }:

{
  options = {
    ly.enable = lib.mkEnableOption "enable ly desktop manager";
  };

  config = lib.mkIf config.ly.enable {
    services.displayManager.ly = {
      enable = true;
      settings = {
        save = true;
      };
    };
  };
}