diff options
| author | adikro <adikro@disroot.org> | 2026-01-19 11:43:42 +0100 |
|---|---|---|
| committer | adikro <adikro@disroot.org> | 2026-01-19 11:43:42 +0100 |
| commit | d2571482b4eb5660fd92727efb4e5254df06e45e (patch) | |
| tree | b94282d6f250a82587c25689cba8a1dc1a2f2d96 /os/srv | |
| parent | 760a0edc2937fab375898bbd2f2a3011eb8c9756 (diff) | |
a lot of changes
Diffstat (limited to 'os/srv')
| -rw-r--r-- | os/srv/gaming.nix | 17 | ||||
| -rw-r--r-- | os/srv/kdeconnect.nix | 19 | ||||
| -rw-r--r-- | os/srv/srv.nix | 1 |
3 files changed, 33 insertions, 4 deletions
diff --git a/os/srv/gaming.nix b/os/srv/gaming.nix index 16ef9f1..9ae0efe 100644 --- a/os/srv/gaming.nix +++ b/os/srv/gaming.nix @@ -1,4 +1,10 @@ -{ config, lib, pkgs, username, ... }: +{ + config, + lib, + pkgs, + username, + ... +}: let cfg = config.os.srv.gaming; in @@ -10,7 +16,10 @@ in }; config = lib.mkMerge [ (lib.mkIf cfg.enable { - programs.gamescope.enable = true; + programs.gamescope = { + enable = true; + capSysNice = true; + }; programs.gamemode = { enable = true; @@ -23,8 +32,8 @@ in heroic clinfo (prismlauncher.override { - additionalLibs = with pkgs; [ - ocl-icd + additionalLibs = with pkgs; [ + ocl-icd ]; jdks = with pkgs; [ javaPackages.compiler.temurin-bin.jdk-25 ]; }) diff --git a/os/srv/kdeconnect.nix b/os/srv/kdeconnect.nix new file mode 100644 index 0000000..85bb23e --- /dev/null +++ b/os/srv/kdeconnect.nix @@ -0,0 +1,19 @@ +{ + config, + lib, + username, + ... +}: +let + cfg = config.os.srv.kdeconnect; +in +{ + options.os.srv.kdeconnect.enable = lib.mkEnableOption "enables kde connect"; + config = lib.mkIf cfg.enable { + programs.kdeconnect.enable = true; + home-manager.users.${username}.services.kdeconnect = { + enable = true; + indicator = true; + }; + }; +} diff --git a/os/srv/srv.nix b/os/srv/srv.nix index f9280ab..d4b3eef 100644 --- a/os/srv/srv.nix +++ b/os/srv/srv.nix @@ -9,6 +9,7 @@ ./kvm.nix ./nix-helper.nix ./ollama.nix + ./kdeconnect.nix ./zzz.nix ]; } |
