feat(home): import desktop module using import-tree and move misc config to desktop module

This commit is contained in:
Mohammad Rafiq 2025-06-14 18:22:53 +08:00
parent 2387ad9099
commit f5a046cd58
No known key found for this signature in database
10 changed files with 97 additions and 112 deletions

View file

@ -0,0 +1,30 @@
{
lib,
pkgs,
osConfig,
...
}:
let
inherit (lib) mkMerge;
inherit (osConfig.desktop) mainMonitor;
in
mkMerge [
(import ./decoration.nix)
(import ./keybinds.nix { inherit pkgs; })
{
ecosystem.no_update_news = true;
xwayland.force_zero_scaling = true;
monitor = [
"${mainMonitor.id}, ${mainMonitor.resolution}@${mainMonitor.refresh-rate}, auto, ${mainMonitor.scale}"
", preferred, auto, 1"
];
exec-once = [
"uwsm app -- $LOCKSCREEN"
"uwsm app -- $NOTIFICATION_DAEMON"
"uwsm app -- $STATUS_BAR"
];
}
]