Add lutris and qbittorrent
This commit is contained in:
@ -25,9 +25,11 @@ with lib.my;
|
||||
|
||||
modules = {
|
||||
desktop = {
|
||||
apps.qbittorrent.enable = true;
|
||||
browsers = {
|
||||
firefox.enable = true;
|
||||
};
|
||||
gaming.lutris.enable = true;
|
||||
};
|
||||
dev = {
|
||||
node.enable = true;
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
];
|
||||
};
|
||||
}
|
24
modules/desktop/gaming/lutris.nix
Normal file
24
modules/desktop/gaming/lutris.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user