nixcfg/modules/nixos/tools/attic/default.nix
2024-01-11 10:31:04 +00:00

19 lines
286 B
Nix

{ config, lib, pkgs, ... }:
with lib;
with lib.plusultra;
let
cfg = config.plusultra.tools.attic;
in
{
options.plusultra.tools.attic = {
enable = mkEnableOption "Attic";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
attic
];
};
}