diff --git a/nix/home.nix b/nix/home.nix index 7a26d65..4852e9d 100644 --- a/nix/home.nix +++ b/nix/home.nix @@ -38,6 +38,7 @@ ./modules/git.nix ./modules/direnv.nix ./modules/emacs.nix + ./modules/work.nix ]; fonts.fontconfig.enable = true; diff --git a/nix/modules/work.nix b/nix/modules/work.nix new file mode 100644 index 0000000..f9f1ff3 --- /dev/null +++ b/nix/modules/work.nix @@ -0,0 +1,20 @@ +{ 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; [ + ]; + }; +}