!qol(restructure): heavy restructure
This commit is contained in:
4
modules/bottles/default.nix
Normal file
4
modules/bottles/default.nix
Normal file
@@ -0,0 +1,4 @@
|
||||
_: {
|
||||
home = ./home.nix;
|
||||
# nixos: ./nixos.nix;
|
||||
}
|
||||
25
modules/bottles/home.nix
Normal file
25
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