flatpak: added support for redis
This commit is contained in:
parent
ed60032f75
commit
1767610c7c
|
@ -23,6 +23,7 @@
|
|||
./nnn.nix
|
||||
./node.nix
|
||||
./obsidian.nix
|
||||
./redis.nix
|
||||
./slack.nix
|
||||
./spotify.nix
|
||||
./starship.nix
|
||||
|
|
12
home/programs/redis.nix
Normal file
12
home/programs/redis.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
cfg = config.profile.services.redis;
|
||||
inherit (lib) mkIf;
|
||||
in
|
||||
lib.mkMerge [
|
||||
(mkIf cfg.client.cli.enable {
|
||||
home.packages = [
|
||||
pkgs.redis
|
||||
];
|
||||
})
|
||||
]
|
|
@ -6,5 +6,6 @@ in
|
|||
options.profile.flatpak = {
|
||||
enable = mkEnableOption "flatpak";
|
||||
zen-browser.enable = mkEnableOption "zen-browser";
|
||||
redisinsight.enable = mkEnableOption "redisinsight";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -35,6 +35,10 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
redis = {
|
||||
client.cli.enable = mkEnableOption "redis cli client";
|
||||
};
|
||||
|
||||
couchdb.enable = mkEnableOption "couchdb";
|
||||
|
||||
telemetry = {
|
||||
|
|
|
@ -82,6 +82,7 @@ in
|
|||
flatpak = {
|
||||
enable = true;
|
||||
zen-browser.enable = true;
|
||||
redisinsight.enable = true;
|
||||
};
|
||||
|
||||
microsoft-edge.enable = true;
|
||||
|
|
|
@ -13,7 +13,8 @@ in
|
|||
onCalendar = "weekly"; # Default value
|
||||
};
|
||||
packages = [ ]
|
||||
++ optional cfg.zen-browser.enable "io.github.zen_browser.zen";
|
||||
++ optional cfg.zen-browser.enable "io.github.zen_browser.zen"
|
||||
++ optional cfg.redisinsight.enable "com.redis.RedisInsight";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue