1
0
forked from extern/nix-config
donovanglover-nix-config/modules/greetd.nix

19 lines
421 B
Nix
Raw Normal View History

2023-06-17 08:43:26 +02:00
{ pkgs, ... }:
let VARIABLES = import ../src/variables.nix; in {
services.greetd = {
enable = true;
restart = false;
settings = {
default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd Hyprland";
user = "greeter";
};
initial_session = {
command = "${pkgs.hyprland}/bin/Hyprland";
user = VARIABLES.username;
};
};
};
}