mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
Add hyprland
Add unfree
This commit is contained in:
parent
d676358f1a
commit
31ffdc94e8
18 changed files with 185 additions and 44 deletions
24
modules/nixos/unfree/steam.nix
Normal file
24
modules/nixos/unfree/steam.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{ pkgs, lib, config, ... }: {
|
||||
options.mods.unfree.steam = {
|
||||
enable = lib.mkEnableOption {
|
||||
default = false;
|
||||
description = "enables proprietary steam software";
|
||||
};
|
||||
packages = lib.mkOption {
|
||||
default = [
|
||||
"steam"
|
||||
"steam-original"
|
||||
"steam-run"
|
||||
];
|
||||
description = "unfree packages";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf config.mods.unfree.steam.enable {
|
||||
# nixos.wiki/wiki/Steam
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue