aboutsummaryrefslogtreecommitdiff
path: root/modules/foot.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/foot.nix')
-rw-r--r--modules/foot.nix7
1 files changed, 2 insertions, 5 deletions
diff --git a/modules/foot.nix b/modules/foot.nix
index 4fe4e4b..902dd56 100644
--- a/modules/foot.nix
+++ b/modules/foot.nix
@@ -1,11 +1,8 @@
{ config, lib, pkgs, ... }:
-let
- cfg = config.foot;
-in {
+{
options.foot.enable = lib.mkEnableOption "Enable and configure the Foot terminal emulator";
-
- config = lib.mkIf cfg.enable {
+ config = lib.mkIf config.foot.enable {
home.packages = with pkgs; [
(nerdfonts.override { fonts = [ "SpaceMono" "IBMPlexMono" "Terminus" ]; })
];