add gaming option to home-manager
This commit is contained in:
@@ -5,5 +5,6 @@
|
||||
./gpg.nix
|
||||
./pc.nix
|
||||
./dev.nix
|
||||
./gaming.nix
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{ config, lib, pkgs, osConfig, ... }:
|
||||
|
||||
{
|
||||
options.lumpiastyHome.gaming = lib.mkEnableOption "Gaming account";
|
||||
|
||||
config = lib.mkIf config.lumpiastyHome.gaming {
|
||||
programs.lutris = {
|
||||
enable = true;
|
||||
steamPackage = pkgs.steam;
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -63,6 +63,7 @@
|
||||
enablePulseaudio = true;
|
||||
sshd = true;
|
||||
users.user = true;
|
||||
gaming = true;
|
||||
# users.drugi = true;
|
||||
};
|
||||
|
||||
|
||||
@@ -2,4 +2,5 @@
|
||||
|
||||
{
|
||||
options.lumpiasty.pc = lib.mkEnableOption "Enable options specific to personal computers";
|
||||
options.lumpiasty.gaming = lib.mkEnableOption "Enable options specific to gaming computers";
|
||||
}
|
||||
@@ -7,6 +7,7 @@
|
||||
gpg = osConfig.lumpiasty.pc;
|
||||
enablePcApps = osConfig.lumpiasty.pc;
|
||||
dev = osConfig.lumpiasty.pc;
|
||||
gaming = osConfig.lumpiasty.gaming;
|
||||
};
|
||||
|
||||
home.stateVersion = "24.05";
|
||||
|
||||
Reference in New Issue
Block a user