Add lutris and qbittorrent
This commit is contained in:
@ -25,9 +25,11 @@ with lib.my;
|
|||||||
|
|
||||||
modules = {
|
modules = {
|
||||||
desktop = {
|
desktop = {
|
||||||
|
apps.qbittorrent.enable = true;
|
||||||
browsers = {
|
browsers = {
|
||||||
firefox.enable = true;
|
firefox.enable = true;
|
||||||
};
|
};
|
||||||
|
gaming.lutris.enable = true;
|
||||||
};
|
};
|
||||||
dev = {
|
dev = {
|
||||||
node.enable = true;
|
node.enable = true;
|
||||||
|
@ -2,9 +2,10 @@
|
|||||||
imports = [
|
imports = [
|
||||||
./options.nix
|
./options.nix
|
||||||
./desktop/gnome.nix
|
./desktop/gnome.nix
|
||||||
|
./desktop/apps/qbittorrent.nix
|
||||||
./desktop/browsers/firefox.nix
|
./desktop/browsers/firefox.nix
|
||||||
./desktop/gaming/bottles.nix
|
|
||||||
./desktop/gaming/emulators.nix
|
./desktop/gaming/emulators.nix
|
||||||
|
./desktop/gaming/lutris.nix
|
||||||
./desktop/gaming/steam.nix
|
./desktop/gaming/steam.nix
|
||||||
./dev/cc.nix
|
./dev/cc.nix
|
||||||
./dev/java.nix
|
./dev/java.nix
|
||||||
|
@ -2,15 +2,15 @@
|
|||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
with lib.my;
|
with lib.my;
|
||||||
let cfg = config.modules.desktop.gaming.bottles;
|
let cfg = config.modules.desktop.apps.qbittorrent;
|
||||||
in {
|
in {
|
||||||
options.modules.desktop.gaming.bottles = {
|
options.modules.desktop.apps.qbittorrent = {
|
||||||
enable = mkBoolOpt false;
|
enable = mkBoolOpt false;
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
user.packages = with pkgs; [
|
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