fix some font stuff, switch to kermit as terminal, fix some titlebar stuff in de2
This commit is contained in:
parent
6b62ba838a
commit
76a519836f
8 changed files with 97 additions and 6 deletions
34
home-manager/modules/kermit.nix
Normal file
34
home-manager/modules/kermit.nix
Normal 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 ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue