Modularize teams sops yazi

This commit is contained in:
DashieTM 2024-08-24 13:25:08 +02:00
parent 7730cbef59
commit c73cb37278
75 changed files with 3023 additions and 3573 deletions

View file

@ -4,7 +4,8 @@
system = lib.mkOption {
default = "x86_64-linux";
# no fisherprice unix support
type = with lib.types; (enum [ "x86_64-linux" "aarch64-linux" "aarch64-linux-android" ]);
type = with lib.types;
(enum [ "x86_64-linux" "aarch64-linux" "aarch64-linux-android" ]);
example = "aarch64-linux";
description = ''
System architecture.
@ -42,9 +43,10 @@
ironbar = {
modules = lib.mkOption {
default = [ ];
example = [
{ type = "upower"; class = "memory-usage"; }
];
example = [{
type = "upower";
class = "memory-usage";
}];
type = with lib.types; listOf attrs;
description = ''
Adds modules to ironbar.
@ -138,10 +140,10 @@
};
config = {
conf.kernel = lib.mkIf (config.mods.gaming.enable && config.mods.gaming.kernel) pkgs.linuxPackages_xanmod_latest;
} // (lib.optionalAttrs (options?system.stateVersion)
{
system.stateVersion = "unstable";
}
);
conf.kernel =
lib.mkIf (config.mods.gaming.enable && config.mods.gaming.kernel)
pkgs.linuxPackages_xanmod_latest;
} // (lib.optionalAttrs (options ? system.stateVersion) {
system.stateVersion = "unstable";
});
}