21 lines
342 B
Nix
21 lines
342 B
Nix
{ config, lib, pkgs, ... }:
|
|
with lib;
|
|
let cfg = config.ttm.work;
|
|
in
|
|
{
|
|
options.ttm.work = {
|
|
enable = mkOption {
|
|
type = types.bool;
|
|
default = true;
|
|
description = ''
|
|
If enabled, configure the machine for work tasks.
|
|
'';
|
|
};
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
home.packages = with pkgs; [
|
|
];
|
|
};
|
|
}
|