22 lines
418 B
Nix
Raw Normal View History

2023-11-04 02:28:27 +01:00
{ lib, config, pkgs, ... }:
let cfg = config.hostcfg.make.gui;
in {
config = lib.mkIf cfg {
services.greetd = {
enable = true;
settings = rec {
initial_session = {
2023-11-16 23:06:28 +01:00
command = "zsh";
2023-11-04 02:28:27 +01:00
user = "${config.hostcfg.username}";
};
default_session = initial_session;
};
};
environment.etc."greetd/environments".text = ''
Hyprland
'';
};
}