soraefir 972cb47e3f
All checks were successful
Nix Build / build-nixos (push) Successful in 5m27s
Merged Host/Home Opt into SysOpt
2024-04-14 12:09:03 +02:00

22 lines
419 B
Nix

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