summaryrefslogtreecommitdiff
path: root/hm/shell/foot.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hm/shell/foot.nix')
-rw-r--r--hm/shell/foot.nix20
1 files changed, 14 insertions, 6 deletions
diff --git a/hm/shell/foot.nix b/hm/shell/foot.nix
index c840b5e..3143d12 100644
--- a/hm/shell/foot.nix
+++ b/hm/shell/foot.nix
@@ -1,13 +1,20 @@
-{ pkgs, lib, config, ... }:
+{
+ pkgs,
+ lib,
+ config,
+ ...
+}:
let
cfg = config.hm.shell.foot;
-
+
footTheme = pkgs.runCommand "gruvbox-dark" { } ''
- sed 's/\[colors-dark\]/\[colors\]/g' ${pkgs.fetchurl {
- url = "https://codeberg.org/dnkl/foot/raw/branch/master/themes/gruvbox-dark";
- sha256 = "sha256-hlmLklG/vAEDy8I+k13+o4ZR6Cq6lTxOconjf9M75eo=";
- }} > $out
+ sed 's/\[colors-dark\]/\[colors\]/g' ${
+ pkgs.fetchurl {
+ url = "https://codeberg.org/dnkl/foot/raw/branch/master/themes/gruvbox-dark";
+ sha256 = "sha256-hlmLklG/vAEDy8I+k13+o4ZR6Cq6lTxOconjf9M75eo=";
+ }
+ } > $out
'';
in
{
@@ -23,6 +30,7 @@ in
config = lib.mkIf cfg.enable {
programs.foot = {
enable = true;
+ server.enable = true;
settings = {
main = {
font = "JetBrainsMonoNFM-Regular:size=${toString cfg.fontSize}";