19 lines
286 B
Nix
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
|
||
|
];
|
||
|
};
|
||
|
}
|