feat(desktop): move desktop services config to nixos modules

This commit is contained in:
Mohammad Rafiq 2025-06-14 17:53:42 +08:00
parent 3040105f9c
commit 527a166a86
No known key found for this signature in database
6 changed files with 98 additions and 114 deletions

View file

@ -9,9 +9,5 @@
status-bar.waybar.enable = true;
terminal.ghostty.enable = true;
window-manager.hyprland.enable = true;
enableSpotifyd = true;
enableSteam = true;
enableVR = true;
enableSunshine = true;
};
}

View file

@ -1,4 +1,3 @@
{ pkgs, ... }:
{
imports = [
../common.nix
@ -21,11 +20,18 @@
usb.automount = true;
};
desktop.mainMonitor = {
id = "desc:OOO AN-270W04K";
scale = "2";
resolution = "3840x2160";
refresh-rate = "60";
desktop = {
services = {
steam.enable = true;
sunshine.enable = true;
spotifyd.enable = true;
};
mainMonitor = {
id = "desc:OOO AN-270W04K";
scale = "2";
resolution = "3840x2160";
refresh-rate = "60";
};
};
services = {