Add lib.mkDefault for non configurable defaults (#15)
This commit is contained in:
parent
207b5165a3
commit
786217106b
8 changed files with 82 additions and 70 deletions
|
|
@ -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"];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue