Add lutris and qbittorrent

This commit is contained in:
2023-01-08 02:35:25 +00:00
parent 8752fb747f
commit 5c91773f05
4 changed files with 31 additions and 4 deletions

View File

@ -2,9 +2,10 @@
imports = [
./options.nix
./desktop/gnome.nix
./desktop/apps/qbittorrent.nix
./desktop/browsers/firefox.nix
./desktop/gaming/bottles.nix
./desktop/gaming/emulators.nix
./desktop/gaming/lutris.nix
./desktop/gaming/steam.nix
./dev/cc.nix
./dev/java.nix

View File

@ -2,15 +2,15 @@
with lib;
with lib.my;
let cfg = config.modules.desktop.gaming.bottles;
let cfg = config.modules.desktop.apps.qbittorrent;
in {
options.modules.desktop.gaming.bottles = {
options.modules.desktop.apps.qbittorrent = {
enable = mkBoolOpt false;
};
config = mkIf cfg.enable {
user.packages = with pkgs; [
bottles
qbittorrent
];
};
}

View File

@ -0,0 +1,24 @@
{ config, lib, pkgs, ... }:
with lib;
with lib.my;
let cfg = config.modules.desktop.gaming.lutris;
in {
options.modules.desktop.gaming.lutris = {
enable = mkBoolOpt false;
};
config = mkIf cfg.enable {
user.packages = with pkgs; [
lutris
vulkan-loader
vulkan-tools
];
hardware.opengl = {
enable = true;
driSupport = true;
driSupport32Bit = true;
};
};
}