aboutsummaryrefslogtreecommitdiff
path: root/nixos/nixosModules/greetd.nix
blob: f391d681773deab1fc35751794c9a8c19277ad5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ pkgs, config, lib, inputs, outputs, ... }:

{
  options = {
    greetd.enable = lib.mkEnableOption "enable greetd";
  };
  config = lib.mkIf config.greetd.enable {
    services.greetd = {
      enable = true;
      settings = {
        default_session = {
          command = "${pkgs.greetd.tuigreet}/bin/tuigreet -t -r -c Hyprland";
          user = "jerpo";
        };
      };
    };
  };
}