fix some font stuff, switch to kermit as terminal, fix some titlebar stuff in de2

This commit is contained in:
notgne2 2022-02-22 15:00:19 -07:00
parent 6b62ba838a
commit 76a519836f
No known key found for this signature in database
GPG key ID: 5CE0A245A2DAC84A
8 changed files with 97 additions and 6 deletions

View file

@ -0,0 +1,34 @@
{ config, lib, pkgs, ... }:
let
cfg = config.programs.kermit;
in
{
options.programs.kermit = {
enable = lib.mkEnableOption "A VTE-based, simple and froggy terminal emulator 🐸";
settings = lib.mkOption {
default = { };
type = with lib.types; attrsOf str;
description = ''
The settings that Kermit should use.
'';
};
extraConfig = lib.mkOption {
default = "";
type = lib.types.lines;
description = ''
Extra config lines for the Kermit config file
'';
};
};
config = lib.mkIf cfg.enable {
xdg.configFile."kermit.conf".text = (lib.generators.toKeyValue {
mkKeyValue = lib.generators.mkKeyValueDefault {} " ";
} cfg.settings) + cfg.extraConfig;
home.packages = [ pkgs.kermit-terminal ];
};
}