refactor modules/desktop

Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
2025-05-23 14:34:42 +03:00
parent 56bad06595
commit 52dcc3279e
11 changed files with 137 additions and 143 deletions

View File

@ -1,6 +1,7 @@
{
config,
inputs,
pkgs,
...
}: {
imports = with inputs; [
@ -22,6 +23,11 @@
time.timeZone = "Europe/Kyiv";
desktop.niri.enable = true;
# TODO: make a module for autologin
services.greetd.settings.initial_session = {
user = "user";
command = "${pkgs.niri}/bin/niri-session";
};
module = {
config = {