Add lib.mkDefault for non configurable defaults (#15)

This commit is contained in:
Dashie 2025-05-09 23:27:37 +02:00 committed by DashieTM
parent 207b5165a3
commit 786217106b
8 changed files with 82 additions and 70 deletions

View file

@ -1,4 +1,8 @@
{pkgs, ...}: let
{
mkDashDefault,
pkgs,
...
}: let
layout = pkgs.writeText "dashie" ''
xkb_symbols "dashie"
{
@ -10,7 +14,7 @@
};
'';
in {
environment.systemPackages = [pkgs.xorg.xkbcomp];
environment.systemPackages = mkDashDefault [pkgs.xorg.xkbcomp];
services.xserver.xkb.extraLayouts.dashie = {
description = "US layout with 'umlaut'";
languages = ["eng"];