mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-23 00:34:24 +01:00
19 lines
421 B
Nix
19 lines
421 B
Nix
{ 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;
|
|
};
|
|
};
|
|
};
|
|
}
|