Add a role for installing bubblewrap.

This commit is contained in:
Tom Alexander
2026-10-27 19:42:52 -04:00
parent 12ff1c2812
commit 5e949e1013
4 changed files with 28 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
{
config,
lib,
pkgs,
...
}:
{
imports = [ ];
options.me = {
bubblewrap.enable = lib.mkOption {
type = lib.types.bool;
default = false;
example = true;
description = "Whether we want to install bubblewrap.";
};
};
config = lib.mkIf config.me.bubblewrap.enable {
environment.systemPackages = with pkgs; [
bubblewrap
];
};
}