blob: 64cad766d9c5d156758a91a8fade3468c2a25509 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
{
inputs,
self,
...
}: {
flake.nixosConfigurations.dragotha = inputs.nixpkgs.lib.nixosSystem {
modules = [
self.nixosModules.dragotha
self.nixosModules.dragothaHardware
self.nixosModules.createHost
self.nixosModules.hostOptions
inputs.nixos-hardware.nixosModules.microsoft-surface-go
self.nixosModules.desktop
self.nixosModules.nasClient
];
};
flake.nixosModules.dragotha = {pkgs, ...}: {
hostOptions = {
host.name = "dragotha";
user.name = "jck";
user.email = "jckrinsky@gmail.com";
};
boot.kernelParams = ["quiet"];
hardware.graphics = {
enable = true;
enable32Bit = true;
};
networking.nameservers = ["1.1.1.1" "9.9.9.9"];
services.automatic-timezoned.enable = true;
services.kanata = {
enable = true;
keyboards.tkb = {
devices = [
"dev/input/by-path/platform-i8042-serio-0-event-kbd"
];
config = "
(defsrc h j k l caps)
(deflayer default _ _ _ _ @press)
(deflayer arrows left down up right @press)
(defalias press
(tap-hold-press 200 200 esc (layer-while-held arrows))
)
";
extraDefCfg = "
process-unmapped-keys yes
";
};
};
};
}
|