add nixgl

This commit is contained in:
Steam Deck User
2025-02-23 16:22:20 +00:00
parent b1199a7eda
commit 3bda156ab4
10 changed files with 95 additions and 21 deletions

View File

@@ -1,4 +1,4 @@
{ pkgs, ... }:
{ pkgs, inputs, config, ... }:
{
imports = [
@@ -19,7 +19,7 @@
home.stateVersion = "24.05";
home.packages = with pkgs;[ ];
home.packages = with pkgs;[ (config.lib.nixGL.wrap nextcloud-client) ];
home.file = {
# # Building this configuration will create a copy of 'dotfiles/screenrc' in
@@ -33,4 +33,20 @@
# org.gradle.daemon.idletimeout=3600000
# '';
};
nixGL = {
packages = inputs.nixgl.packages;
# vulkan.enable = true;
};
programs.kodi = {
enable = true;
package = config.lib.nixGL.wrap (pkgs.kodi.withPackages (exts: [ exts.jellycon exts.joystick ]));
};
systemd.user.services.nextcloud-client = {
Unit = {
After = pkgs.lib.mkForce "graphical-session.target";
};
};
}