add den pattern
This commit is contained in:
14
modules/hardware/bambu-studio-flatpak.nix
Normal file
14
modules/hardware/bambu-studio-flatpak.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
dirModules = config.features.modules.hardware or { };
|
||||
in
|
||||
{
|
||||
config = lib.mkIf ((dirModules.enable or false) && (dirModules.bambu-studio-flatpak.enable or true)) {
|
||||
services.flatpak.update.onActivation = true;
|
||||
services.flatpak.enable = true;
|
||||
services.flatpak.packages = [
|
||||
"com.bambulab.BambuStudio"
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user