steam and some other stuff

This commit is contained in:
Sakooooo 2023-07-09 01:25:39 +03:00
parent 2e4dad5992
commit 16e9da9931
Signed by: sako
GPG key ID: 3FD715D87D7725E0
8 changed files with 87 additions and 6 deletions

View file

@ -21,6 +21,14 @@
apps = {
keepassxc.enable = true;
};
chat = {
discord.enable = true;
};
game = {
wine.enable = true;
lutris.enable = true;
steam.enable = true;
};
};
hardware = {
nvidia.enable = true;
@ -51,12 +59,6 @@
isNormalUser = true;
extraGroups = [ "wheel" "networkmanager" ]; # Enable sudo for the user.
packages = with pkgs; [
tree
steam
winetricks
wineWowPackages.staging
lutris
discord
networkmanagerapplet
gcc
python3

View file

@ -0,0 +1,5 @@
{
imports = [
./discord
];
}

View file

@ -0,0 +1,16 @@
{ outputs, options, config, lib, pkgs, ...}:
with lib;
let
cfg = config.modules.desktop.chat.discord;
in
{
options.modules.desktop.chat.discord = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
discord
];
};
}

View file

@ -4,5 +4,7 @@
./bspwm
./browsers
./apps
./game
./chat
];
}

View file

@ -0,0 +1,7 @@
{
imports = [
./steam
./lutris
./wine
];
}

View file

@ -0,0 +1,16 @@
{ outputs, options, config, lib, pkgs, ...}:
with lib;
let
cfg = config.modules.desktop.game.lutris;
in
{
options.modules.desktop.game.lutris = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
lutris
];
};
}

View file

@ -0,0 +1,16 @@
{ outputs, options, config, lib, pkgs, ...}:
with lib;
let
cfg = config.modules.desktop.game.steam;
in
{
options.modules.desktop.game.steam = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
steam
];
};
}

View file

@ -0,0 +1,17 @@
{ outputs, options, config, lib, pkgs, ...}:
with lib;
let
cfg = config.modules.desktop.game.wine;
in
{
options.modules.desktop.game.wine = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
winetricks
wineWowPackages.staging
];
};
}