nixfleet/hmModules/git-workspace/git-workspace-program.nix
Andrea Ciceri 52298435cd
Things
- new host `devbox`
- `flake-parts` module to manage agenix secrets
- Searx -> Google again 😩 (it was too slow)
- WIP `git-workspace` module for `home-manager`
- `cgit` module
- `spotify-adblocked` packaged
2023-03-26 11:35:42 +02:00

20 lines
409 B
Nix

{
config,
lib,
pkgs,
...
}: let
cfg = config.programs.git-workspace;
in {
options.programs.git-workspace = {
enable = lib.mkEnableOption "git-workspace";
package = lib.mkOption {
type = lib.types.package;
default = pkgs.git-workspace;
description = "The git-workspace to use";
};
};
config = lib.mkIf cfg.enable {
home.packages = [pkgs.git-workspace];
};
}