bunch of sliming down

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-03-18 18:01:46 -05:00
parent aacf05e59d
commit 8b2a1b1f4f
21 changed files with 992 additions and 810 deletions

View file

@ -1,11 +1,28 @@
{
lib,
pkgs,
config,
...
}:
with lib;
let
ccfg = import ../config.nix;
cfg_path = [
ccfg.custom_config_key
"general"
];
cfg = lib.attrsets.getAttrFromPath cfg_path config;
in
{
config = {
options =
{ }
// lib.attrsets.setAttrByPath cfg_path {
ttyCapsEscape = lib.mkOption {
type = lib.types.bool;
default = true;
description = "Enable caps for escape key";
};
};
config = lib.mkIf cfg.ttyCapsEscape {
services.xserver.xkb.options = "caps:escape";
console = {
earlySetup = true;