modularize config

This commit is contained in:
DashieTM 2024-07-10 17:03:31 +02:00
parent 09c4625fbb
commit 7a4e46e04f
33 changed files with 230 additions and 168 deletions

View file

@ -1,6 +1,6 @@
{ pkgs, ... }:
let
dashie = pkgs.writeText "dashie" ''
layout = pkgs.writeText "dashie" ''
xkb_symbols "dashie"
{
include "us(basic)"
@ -16,7 +16,7 @@ in
services.xserver.xkb.extraLayouts.dashie = {
description = "US layout with 'umlaut'";
languages = [ "eng" ];
symbolsFile = "${dashie}";
symbolsFile = "${layout}";
};
}