From fec9f1540ad8eef8b1b15532b08429e2bb5b59fd Mon Sep 17 00:00:00 2001 From: Doloro1978 Date: Wed, 26 Nov 2025 09:09:03 +0000 Subject: [PATCH] qol(bottles): added --- nix/hosts/doloro/home.nix | 1 + nix/modules/bottles/default.nix | 4 ++++ nix/modules/bottles/home.nix | 25 +++++++++++++++++++++++++ 3 files changed, 30 insertions(+) create mode 100644 nix/modules/bottles/default.nix create mode 100644 nix/modules/bottles/home.nix diff --git a/nix/hosts/doloro/home.nix b/nix/hosts/doloro/home.nix index 0c4ec84..a43c8d2 100644 --- a/nix/hosts/doloro/home.nix +++ b/nix/hosts/doloro/home.nix @@ -34,6 +34,7 @@ theme.enable = true; obs.enable = true; blender.enable = true; + bottles.enable = true; fish.enable = true; youtube-music.enable = true; unityhub.enable = true; diff --git a/nix/modules/bottles/default.nix b/nix/modules/bottles/default.nix new file mode 100644 index 0000000..fb4af30 --- /dev/null +++ b/nix/modules/bottles/default.nix @@ -0,0 +1,4 @@ +_: { + home = ./home.nix; + # nixos: ./nixos.nix; +} diff --git a/nix/modules/bottles/home.nix b/nix/modules/bottles/home.nix new file mode 100644 index 0000000..98af69c --- /dev/null +++ b/nix/modules/bottles/home.nix @@ -0,0 +1,25 @@ +{ + config, + lib, + inputs, + pkgs, + home, + system, + ... +}: +let + cfg = config.modules.bottles; +in +{ + options.modules.bottles = { + enable = lib.mkEnableOption "Blender configuration module"; + }; + # whole bottles config including addons is too fat to include here + config = lib.mkIf cfg.enable { + home.packages = [ + pkgs.bottles + ]; + }; + # nix'ing a bottles config is most likely not possible + # could probs install bottles addons through nix since they are fat fat mega fat to install TODO +}