diff options
author | sefidel <contact@sefidel.net> | 2023-12-09 14:26:23 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-12-20 17:01:12 +0900 |
commit | afa5a1c0f1b6206391f19baf9233ce746777e90f (patch) | |
tree | 3eac481dd9672812054a3efda72a36418e48905e | |
parent | 4a1c21639ede880ceaf4b33616464cf4505cc3ba (diff) | |
download | nixrc-afa5a1c0f1b6206391f19baf9233ce746777e90f.tar.gz nixrc-afa5a1c0f1b6206391f19baf9233ce746777e90f.zip |
feat(home/gaming): init
-rw-r--r-- | home/profiles/gaming/default.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/home/profiles/gaming/default.nix b/home/profiles/gaming/default.nix new file mode 100644 index 0000000..5c7f6bc --- /dev/null +++ b/home/profiles/gaming/default.nix @@ -0,0 +1,19 @@ +{ inputs, config, lib, pkgs, ... }: +let + cfg = config.profiles.gaming; +in +{ + imports = [ ../../modules/programs/nixpkgs ]; + + options.profiles.gaming = { + enable = lib.mkEnableOption + "A profile that enables the system to be used for gaming."; + }; + + config = lib.mkIf cfg.enable { + home.packages = with inputs.nix-gaming.packages.${pkgs.system}; [ + osu-stable + # osu-lazer-bin + ]; + }; +} |