Skip to content

Commit 79b4cc9

Browse files
committed
keyd and anyrun cachix
1 parent 5250331 commit 79b4cc9

File tree

4 files changed

+47
-20
lines changed

4 files changed

+47
-20
lines changed

Diff for: flake.lock

+18-18
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: nixos/configurations/chestnut.nix

+1-2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ _: {
1616
../modules/system/xrdb.nix
1717
../modules/system/zsh.nix
1818
../modules/system/gui-support.nix
19+
../modules/keyd.nix
1920
];
2021

2122
i18n.defaultLocale = lib.mkDefault "en_US.UTF-8";
@@ -25,8 +26,6 @@ _: {
2526
nix.gc.persistent = true;
2627
nix.gc.randomizedDelaySec = "30min";
2728

28-
programs.hyprland.enable = true;
29-
3029
# This value determines the NixOS release with which your system is to be
3130
# compatible, in order to avoid breaking some software such as database
3231
# servers. You should change this only after NixOS release notes say you

Diff for: nixos/modules/cachix/caches/anyrun.nix

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
config,
3+
lib,
4+
...
5+
}: {
6+
nix.settings = {
7+
builders-use-substitutes = true;
8+
# extra substituters to add
9+
extra-substituters = [
10+
"https://anyrun.cachix.org"
11+
];
12+
extra-trusted-public-keys = [
13+
"anyrun.cachix.org-1:pqBobmOjI7nKlsUMV25u9QHa9btJK65/C8vnO3p346s="
14+
];
15+
};
16+
}

Diff for: nixos/modules/keyd.nix

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
services.keyd = {
3+
enable = true;
4+
keyboards.default.settings = {
5+
main.capslock = "escape";
6+
# Does not work?
7+
#main.backspace = "overload(alt,delete)";
8+
};
9+
};
10+
# seems to break my keyboard after an upgrade
11+
systemd.services.keyd.restartIfChanged = false;
12+
}

0 commit comments

Comments
 (0)