about summary refs log tree commit diff
path: root/home/profiles/gaming
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-12-09 14:26:23 +0900
committersefidel <contact@sefidel.net>2023-12-20 17:01:12 +0900
commitafa5a1c0f1b6206391f19baf9233ce746777e90f (patch)
tree3eac481dd9672812054a3efda72a36418e48905e /home/profiles/gaming
parent4a1c21639ede880ceaf4b33616464cf4505cc3ba (diff)
downloadnixrc-afa5a1c0f1b6206391f19baf9233ce746777e90f.tar.gz
nixrc-afa5a1c0f1b6206391f19baf9233ce746777e90f.zip
feat(home/gaming): init
Diffstat (limited to 'home/profiles/gaming')
-rw-r--r--home/profiles/gaming/default.nix19
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
+    ];
+  };
+}