configuring
This commit is contained in:
parent
a3741d8580
commit
4f5c4e3225
3 changed files with 35 additions and 8 deletions
19
dotfiles/dot_config/kmonad/main.kbd
Normal file
19
dotfiles/dot_config/kmonad/main.kbd
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
(defcfg
|
||||||
|
fallthrough true
|
||||||
|
)
|
||||||
|
|
||||||
|
(defsrc
|
||||||
|
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
|
||||||
|
tab q w e r t y u i o p [ ] \
|
||||||
|
caps a s d f g h j k l ; ' ret
|
||||||
|
lsft z x c v b n m , . / rsft
|
||||||
|
lctl lmet lalt spc ralt rmet
|
||||||
|
)
|
||||||
|
|
||||||
|
(deflayer qwerty
|
||||||
|
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
|
||||||
|
tab q w e r t y u i o p [ ] \
|
||||||
|
lctrl a s d f g h j k l ; ' ret
|
||||||
|
lsft z x c v b n m , . / rsft
|
||||||
|
lctl lalt lmet spc rmet ralt
|
||||||
|
)
|
|
@ -123,7 +123,7 @@
|
||||||
"com.github.johnfactotum.QuickLookup"
|
"com.github.johnfactotum.QuickLookup"
|
||||||
];
|
];
|
||||||
|
|
||||||
xdg.configFile."kanata".source = ../dotfiles/dot_config/kanata;
|
xdg.configFile."kmonad".source = ../dotfiles/dot_config/kmonad;
|
||||||
|
|
||||||
xdg.configFile."starship.toml".source = ../dotfiles/dot_config/starship.toml;
|
xdg.configFile."starship.toml".source = ../dotfiles/dot_config/starship.toml;
|
||||||
xdg.configFile."wezterm".source = ../dotfiles/dot_config/wezterm;
|
xdg.configFile."wezterm".source = ../dotfiles/dot_config/wezterm;
|
||||||
|
|
|
@ -154,7 +154,7 @@
|
||||||
users.users.emenel = {
|
users.users.emenel = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "emenel";
|
description = "emenel";
|
||||||
extraGroups = [ "networkmanager" "wheel" "uinput" "audio" "video" ];
|
extraGroups = [ "networkmanager" "wheel" "uinput" "input" "audio" "video" ];
|
||||||
openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFvtBCUQEi7r6mXdaULEaMMvGH1IWZBX9tXpjbIECar2 matt@emenel.ca" ];
|
openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFvtBCUQEi7r6mXdaULEaMMvGH1IWZBX9tXpjbIECar2 matt@emenel.ca" ];
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
git
|
git
|
||||||
|
@ -186,15 +186,23 @@
|
||||||
git
|
git
|
||||||
tailscale
|
tailscale
|
||||||
rsync
|
rsync
|
||||||
kanata
|
#kanata
|
||||||
|
kmonad
|
||||||
];
|
];
|
||||||
|
|
||||||
systemd.services.kanata = {
|
#systemd.services.kanata = {
|
||||||
|
# enable = true;
|
||||||
|
# wantedBy = [ "default.target" ];
|
||||||
|
# description = "kanata";
|
||||||
|
# serviceConfig = {
|
||||||
|
# ExecStart = "/home/emenel/.nix-profile/bin/kanata --cfg /home/emenel/.config/kanata/main.kbd";
|
||||||
|
# };
|
||||||
|
#};
|
||||||
|
|
||||||
|
services.kmonad = {
|
||||||
enable = true;
|
enable = true;
|
||||||
wantedBy = [ "default.target" ];
|
keyboards = {
|
||||||
description = "kanata";
|
config = builtins.readFile /home/emenel/.config/kmonad/main.kbd;
|
||||||
serviceConfig = {
|
|
||||||
ExecStart = "/home/emenel/.nix-profile/bin/kanata --cfg /home/emenel/.config/kanata/main.kbd";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue