qol(bottles): added
This commit is contained in:
@@ -34,6 +34,7 @@
|
|||||||
theme.enable = true;
|
theme.enable = true;
|
||||||
obs.enable = true;
|
obs.enable = true;
|
||||||
blender.enable = true;
|
blender.enable = true;
|
||||||
|
bottles.enable = true;
|
||||||
fish.enable = true;
|
fish.enable = true;
|
||||||
youtube-music.enable = true;
|
youtube-music.enable = true;
|
||||||
unityhub.enable = true;
|
unityhub.enable = true;
|
||||||
|
|||||||
4
nix/modules/bottles/default.nix
Normal file
4
nix/modules/bottles/default.nix
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
_: {
|
||||||
|
home = ./home.nix;
|
||||||
|
# nixos: ./nixos.nix;
|
||||||
|
}
|
||||||
25
nix/modules/bottles/home.nix
Normal file
25
nix/modules/bottles/home.nix
Normal file
@@ -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
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user