meta: Merge greetd module with hyprland

This change is a part of making the desktop-specific stuff its own
module. Note that importing the entire hyprland module into the wine
container doesn't seem to change anything, so simplifying and including
everything in this module should be fine.
This commit is contained in:
Donovan Glover 2024-04-03 23:02:44 -04:00
parent 82966406a4
commit 698994b62d
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 17 additions and 20 deletions

View File

@ -1,20 +0,0 @@
{ pkgs, ... }:
{
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 = "user";
};
};
};
}

View File

@ -36,4 +36,21 @@
environment.systemPackages = with pkgs; [
pulseaudio
];
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 = "user";
};
};
};
}