Skip to content

Commit 75bdde9

Browse files
committed
remap caps lock
1 parent 4add092 commit 75bdde9

4 files changed

Lines changed: 13 additions & 9 deletions

File tree

flake.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
url = "github:numtide/treefmt-nix";
4141
inputs.nixpkgs.follows = "nixpkgs";
4242
};
43-
# encore binaries
44-
encore = {
43+
# encore binaries
44+
encore = {
4545
url = "github:encoredev/encore-flake";
4646
inputs.nixpkgs.follows = "nixpkgs";
4747
};

home/encore.nix

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ in
55
{
66
home.packages = with pkgs; [
77
inputs.encore.packages.${pkgs.stdenv.hostPlatform.system}.encore
8-
cmake
9-
protobuf
8+
cmake
9+
protobuf
1010
pulumi
1111
unstable.clickhouse
1212
vercel-pkg
@@ -15,14 +15,14 @@ in
1515
cloudflared
1616
cue
1717
google-cloud-sdk
18-
pgcli
18+
pgcli
1919
];
2020

2121
programs.encore = {
2222
enable = true;
23-
settings = {
24-
browser = "never";
25-
};
23+
settings = {
24+
browser = "never";
25+
};
2626
};
2727

2828
programs.fish.shellInit = ''

hosts/macbook/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
imports = [
44
inputs.home-manager.darwinModules.home-manager
5-
./defaults.nix
5+
./system.nix
66
./docker.nix
77
./homebrew.nix
88
];
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
{ ... }:
22
{
3+
system.keyboard = {
4+
enableKeyMapping = true;
5+
remapCapsLockToControl = true;
6+
};
37
system.defaults = {
48
NSGlobalDomain.AppleFontSmoothing = 0;
59

0 commit comments

Comments
 (0)