From a66a3015cd405084d162b82f522d8fa85a9c1551 Mon Sep 17 00:00:00 2001 From: stitchy Date: Mon, 1 Apr 2024 21:32:39 +0000 Subject: [PATCH] enable some config only on desktop systems --- users/stitchynyan/default.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/users/stitchynyan/default.nix b/users/stitchynyan/default.nix index b5a819c..a233760 100644 --- a/users/stitchynyan/default.nix +++ b/users/stitchynyan/default.nix @@ -15,29 +15,29 @@ programs = { firefox.enable = true; - hyprland.enable = true; - openvpn3.enable = true; + hyprland.enable = lib.mkIf( config.stitchyconf.form == "pc") true; + openvpn3.enable = lib.mkIf( config.stitchyconf.form == "pc") true; steam = { - enable = true; + enable = lib.mkIf( config.stitchyconf.form == "pc") true; remotePlay.openFirewall = true; }; }; services = { avahi = { - enable = true; + enable = false; nssmdns4 = true; openFirewall = true; }; blueman.enable = true; - gnome.gnome-keyring.enable = true; + gnome.gnome-keyring.enable = lib.mkIf( config.stitchyconf.form == "pc") true; pipewire = { enable = true; pulse.enable = true; alsa.enable = true; }; - printing.enable = true; - usbmuxd.enable = true; + printing.enable = false + usbmuxd.enable = false; xserver.enable = true; };