Many changes
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{
|
||||
imports = [./audio.nix ./bluetooth.nix];
|
||||
imports = [./audio.nix ./bluetooth.nix ./steam.nix];
|
||||
}
|
||||
|
||||
|
||||
Executable
+15
@@ -0,0 +1,15 @@
|
||||
{ lib, config, pkgs, ... }:
|
||||
let
|
||||
isEnabled =
|
||||
config.azos.steam.enable;
|
||||
in {
|
||||
options.azos.steam.enable = lib.mkOption {
|
||||
default = true;
|
||||
example = true;
|
||||
type = lib.types.bool;
|
||||
};
|
||||
|
||||
config = lib.mkIf isEnabled {
|
||||
programs.steam.enable = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user