mirror of
https://github.com/zoriya/flake.git
synced 2025-12-06 06:36:19 +00:00
26 lines
407 B
Nix
26 lines
407 B
Nix
{
|
|
pkgs,
|
|
user,
|
|
...
|
|
}: {
|
|
imports = [
|
|
../../modules/wm
|
|
../../modules/gui
|
|
];
|
|
|
|
programs.niri.enable = true;
|
|
services.greetd = {
|
|
enable = true;
|
|
settings = {
|
|
default_session = {
|
|
command = "${pkgs.greetd}/bin/agreety --cmd zsh";
|
|
user = "greeter";
|
|
};
|
|
initial_session = {
|
|
command = ./niri-session.sh;
|
|
user = user;
|
|
};
|
|
};
|
|
};
|
|
}
|