feat: greetd
3 files changed, 30 insertions(+), 0 deletions(-) M modules/group/compositor.nix M modules/hyprland.nix A modules/nixos/greetd.nix
M modules/group/compositor.nix => modules/group/compositor.nix +1 -0
@@ 6,6 6,7 @@ Common dependencies for Wayland compositors imports = with config.flake.modules.nixos; [ fonts foot greetd mako ]; };
M modules/hyprland.nix => modules/hyprland.nix +2 -0
@@ 13,6 13,8 @@ in { ++ [config.flake.modules.nixos.groupCompositor]; programs.hyprland.enable = true; arta.greetd.command = "hyprland"; }; flake.modules.homeManager.hyprland = {
A modules/nixos/greetd.nix => modules/nixos/greetd.nix +27 -0
@@ 0,0 1,27 @@ { flake.modules.nixos.greetd = { config, lib, pkgs, ... }: let cfg = config.arta.greetd; in { options.arta.greetd = { command = lib.mkOption { type = lib.types.str; }; }; config = { services.greetd = { enable = true; settings = { default_session = { command = "${pkgs.greetd}/bin/agreety --cmd ${cfg.command}"; }; }; }; }; }; }