Skip to content

Commit

Permalink
feat(program): add bambu studio
Browse files Browse the repository at this point in the history
  • Loading branch information
dsluijk committed Oct 9, 2024
1 parent 67968e9 commit 06ea7d8
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
1 change: 1 addition & 0 deletions hosts/odin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
kubectl.enable = true;
bruno.enable = true;
discord.enable = true;
bambustudio.enable = true;
};

development = {
Expand Down
27 changes: 27 additions & 0 deletions modules/programs/bambustudio.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
config,
lib,
...
}:
with lib;
with lib.my; let
cfg = config.modules.programs.bambustudio;
in {
options.modules.programs.bambustudio = {
enable = mkBoolOpt false;
};

config = mkIf cfg.enable {
home-manager.users.${config.modules.user.username} = {pkgs, ...}: {
home.packages = with pkgs; [
bambu-studio
];
};

modules.impermanence = {
unsafe.userFolders = [
".config/BambuStudio"
];
};
};
}

0 comments on commit 06ea7d8

Please sign in to comment.