Add greetd configuration

This commit is contained in:
Radu Andries 2024-01-02 23:46:40 +01:00
parent f2dcc26cd4
commit 342506f8d9
3 changed files with 27 additions and 0 deletions

5
default.nix Normal file
View File

@ -0,0 +1,5 @@
{ pkgs ? import <nixpkgs> { } }:
rec {
hyprland-desktop = import ./hyprland;
}

7
hyprland/default.nix Normal file
View File

@ -0,0 +1,7 @@
{ ... }:
{
imports = [
./greetd.nix
];
}

15
hyprland/greetd.nix Normal file
View File

@ -0,0 +1,15 @@
{ pkgs, ... }:
{
services.greetd = {
enable = true;
settings = {
default_session = {
user = "admiral0";
};
};
};
programs.regreet = {
enable = true;
};
}