DashNix/modules/programs/flatpak.nix
Dashie 32f0512ef5
Secure boot and wsl (#10)
- Add secure boot via lanzaboote
- Add wsl flag
- Remove flatpak flake
2025-05-02 10:16:15 +02:00

21 lines
425 B
Nix

{
lib,
config,
options,
pkgs,
...
}: {
options.mods.flatpak = {
enable = lib.mkOption {
default = false;
example = true;
type = lib.types.bool;
description = "Enables the flatpak package manager";
};
};
config = lib.mkIf config.mods.flatpak.enable (
lib.optionalAttrs (options ? environment.systemPackages) {
environment.systemPackages = [pkgs.flatpak];
}
);
}