format with nixfmt to nixpkgs standarts
nix flake show / show-flake (push) Successful in 27s

This commit is contained in:
smayzy
2025-07-24 19:19:46 +02:00
parent 8ce74dd7bf
commit 092579af98
56 changed files with 438 additions and 218 deletions
+9 -9
View File
@@ -1,4 +1,4 @@
{ lib, config, ... }:
{ lib, config, ... }:
let
inherit (lib) mkIf mkOption types;
@@ -21,10 +21,10 @@ let
];
flatpaks =
(if config.smayzy.flatpak.gaming.enable then gaming else [])
++ (if config.smayzy.flatpak.dev.enable then dev else [])
++ (if config.smayzy.flatpak.utils.enable then utils else [])
++ (if config.smayzy.flatpak.media.enable then media else []);
(if config.smayzy.flatpak.gaming.enable then gaming else [ ])
++ (if config.smayzy.flatpak.dev.enable then dev else [ ])
++ (if config.smayzy.flatpak.utils.enable then utils else [ ])
++ (if config.smayzy.flatpak.media.enable then media else [ ]);
in
{
options.smayzy.flatpak = mkOption {
@@ -35,25 +35,25 @@ in
default = false;
description = "enable flatpak support";
};
gaming.enable = mkOption {
type = types.bool;
default = false;
description = "enable gaming flatpaks";
};
dev.enable = mkOption {
type = types.bool;
default = false;
description = "enable dev flatpaks";
};
utils.enable = mkOption {
type = types.bool;
default = true;
description = "enable utils flatpak";
};
media.enable = mkOption {
type = types.bool;
default = false;