nixcfg/modules/nixos/tools/attic/default.nix

19 lines
286 B
Nix
Raw Normal View History

2024-01-11 11:26:46 +01:00
{ 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
];
};
}