flake

Francesco Saccone's Nix flake.
git clone https://git.francescosaccone.com/flake
Log | Files | Refs | README | LICENSE

default.nix (393B)


      1 {
      2   lib,
      3   options,
      4   config,
      5   pkgs,
      6   ...
      7 }:
      8 {
      9   options.modules.ly = {
     10     enable = lib.mkOption {
     11       description = "Whether to enable Ly display manager.";
     12       default = false;
     13       type = lib.types.bool;
     14     };
     15   };
     16 
     17   config = lib.mkIf config.modules.ly.enable {
     18     services.displayManager = {
     19       ly = {
     20         enable = true;
     21         package = pkgs.ly;
     22       };
     23     };
     24   };
     25 }