forked from colonelpanic/dotfiles
[NixOS] Add ZSA keyboard support
This commit is contained in:
parent
fc583fde01
commit
2c7ca8ee98
@ -63,13 +63,16 @@ in
|
|||||||
sound.enable = true;
|
sound.enable = true;
|
||||||
hardware.pulseaudio.enable = true;
|
hardware.pulseaudio.enable = true;
|
||||||
|
|
||||||
|
# Video
|
||||||
hardware.opengl.driSupport32Bit = true;
|
hardware.opengl.driSupport32Bit = true;
|
||||||
|
|
||||||
# bluetooth
|
# Bluetooth
|
||||||
hardware.bluetooth.enable = true;
|
hardware.bluetooth.enable = true;
|
||||||
services.blueman.enable = true;
|
services.blueman.enable = true;
|
||||||
|
|
||||||
|
# Keyboard
|
||||||
console.keyMap = "us";
|
console.keyMap = "us";
|
||||||
|
hardware.keyboard.zsa.enable = true;
|
||||||
|
|
||||||
i18n = {
|
i18n = {
|
||||||
defaultLocale = "en_US.UTF-8";
|
defaultLocale = "en_US.UTF-8";
|
||||||
@ -373,6 +376,7 @@ in
|
|||||||
"disk"
|
"disk"
|
||||||
"docker"
|
"docker"
|
||||||
"networkmanager"
|
"networkmanager"
|
||||||
|
"plugdev"
|
||||||
"systemd-journal"
|
"systemd-journal"
|
||||||
"video"
|
"video"
|
||||||
"wheel"
|
"wheel"
|
||||||
@ -399,4 +403,11 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
nix.trustedUsers = ["imalison"];
|
nix.trustedUsers = ["imalison"];
|
||||||
|
|
||||||
|
nix = {
|
||||||
|
package = pkgs.nixFlakes;
|
||||||
|
extraOptions = ''
|
||||||
|
experimental-features = nix-command flakes
|
||||||
|
'';
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user