refactor: simplify host config

This commit is contained in:
2026-04-05 16:01:08 +02:00
parent 2929a10d62
commit 0b79904103
8 changed files with 34 additions and 14 deletions

View File

@@ -1,4 +1,9 @@
{ config, lib, ... }:
{
config,
lib,
pkgs,
...
}:
let
cfg = config.desktop;
@@ -16,6 +21,11 @@ in
config = {
programs.niri.enable = true;
xdg.portal = {
enable = true;
extraPortals = [ pkgs.xdg-desktop-portal-gnome ];
};
services = {
dbus.enable = true;
logind.settings.Login = {