steam and some other stuff
This commit is contained in:
parent
2e4dad5992
commit
16e9da9931
8 changed files with 87 additions and 6 deletions
|
@ -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
|
||||
|
|
5
modules/desktop/chat/default.nix
Normal file
5
modules/desktop/chat/default.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
imports = [
|
||||
./discord
|
||||
];
|
||||
}
|
16
modules/desktop/chat/discord/default.nix
Normal file
16
modules/desktop/chat/discord/default.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
|
@ -4,5 +4,7 @@
|
|||
./bspwm
|
||||
./browsers
|
||||
./apps
|
||||
./game
|
||||
./chat
|
||||
];
|
||||
}
|
||||
|
|
7
modules/desktop/game/default.nix
Normal file
7
modules/desktop/game/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
imports = [
|
||||
./steam
|
||||
./lutris
|
||||
./wine
|
||||
];
|
||||
}
|
16
modules/desktop/game/lutris/default.nix
Normal file
16
modules/desktop/game/lutris/default.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
16
modules/desktop/game/steam/default.nix
Normal file
16
modules/desktop/game/steam/default.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
17
modules/desktop/game/wine/default.nix
Normal file
17
modules/desktop/game/wine/default.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue