2023-11-17 02:20:02 +01:00

22 lines
418 B
Nix

{ lib, config, pkgs, ... }:
let cfg = config.hostcfg.make.gui;
in {
config = lib.mkIf cfg {
services.greetd = {
enable = true;
settings = rec {
initial_session = {
command = "zsh";
user = "${config.hostcfg.username}";
};
default_session = initial_session;
};
};
environment.etc."greetd/environments".text = ''
Hyprland
'';
};
}