Added steam
This commit is contained in:
parent
28eb24c658
commit
ac628036a9
|
@ -10,4 +10,4 @@ with lib;
|
||||||
options.modules.steam = {
|
options.modules.steam = {
|
||||||
enable = mkEnableOption "steam";
|
enable = mkEnableOption "steam";
|
||||||
};
|
};
|
||||||
}
|
}
|
|
@ -10,5 +10,13 @@ let
|
||||||
enabled = any (user: user.modules.steam.enable) (attrValues config.home-manager.users);
|
enabled = any (user: user.modules.steam.enable) (attrValues config.home-manager.users);
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
config = mkIf enabled { programs.steam.enable = true; };
|
config = mkIf enabled {
|
||||||
|
modules.unfree.allowedPackages = [
|
||||||
|
"steam"
|
||||||
|
"steam-original"
|
||||||
|
"steam-unwrapped"
|
||||||
|
];
|
||||||
|
|
||||||
|
programs.steam.enable = true;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue