aboutsummaryrefslogtreecommitdiff
path: root/modules/foot.nix
diff options
context:
space:
mode:
authorschererleander <leander@schererleander.de>2025-05-11 16:48:04 +0200
committerschererleander <leander@schererleander.de>2025-05-11 16:48:04 +0200
commitf6cf9bea4125ce0501c72374fa4ed82dc03d3147 (patch)
tree6fd9db4633b06a892456c4e58ccec9a9644af55e /modules/foot.nix
parentac5d4c921a776b991db0f9e23cc283c1a401fd45 (diff)
chore, formatting
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" ]; })
];