Compare commits
5 commits
6cbe647af7
...
101ab079ac
Author | SHA1 | Date | |
---|---|---|---|
101ab079ac | |||
6dde791fb7 | |||
6487394f14 | |||
f72096b717 | |||
ea07a73d07 |
5 changed files with 33 additions and 8 deletions
|
@ -27,6 +27,29 @@
|
|||
|
||||
users.users.moritz.packages = [ pkgs.poetry ];
|
||||
|
||||
home-manager.users.moritz.services.kanshi.profiles = {
|
||||
undocked = {
|
||||
outputs = [
|
||||
{
|
||||
criteria = "eDP-1";
|
||||
}
|
||||
];
|
||||
};
|
||||
docked = {
|
||||
outputs = [
|
||||
{
|
||||
criteria = "eDP-1";
|
||||
position = "640,1800"; # NOTE: 2160 / 1.2 = 1800
|
||||
}
|
||||
{
|
||||
criteria = "DP-3";
|
||||
scale = 1.2;
|
||||
position = "0,0";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
services.kanata = {
|
||||
enable = true;
|
||||
keyboards = {
|
||||
|
@ -89,9 +112,9 @@
|
|||
lalt (tap-dance 200 (lmet (multi lmet alt) lmet lmet))
|
||||
|
||||
;; hjkl layer
|
||||
ralt (layer-while-held hjkl)
|
||||
ralt (tap-hold 200 200 (layer-switch hjkl) (layer-while-held hjkl)) ;; tap: switch hold: switch while held
|
||||
|
||||
;; do not do fancy stuff
|
||||
;; switch to normal keyboard layout
|
||||
rctl (layer-switch normal)
|
||||
)
|
||||
|
||||
|
@ -102,7 +125,9 @@
|
|||
h left
|
||||
j down
|
||||
k up
|
||||
l right)
|
||||
l right
|
||||
|
||||
ralt (layer-switch default))
|
||||
";
|
||||
};
|
||||
};
|
||||
|
@ -116,8 +141,8 @@
|
|||
|
||||
# SERVICES
|
||||
services = {
|
||||
xserver.libinput.enable = true;
|
||||
xserver.libinput.touchpad.disableWhileTyping = true;
|
||||
libinput.enable = true;
|
||||
libinput.touchpad.disableWhileTyping = true;
|
||||
printing.enable = true;
|
||||
logind.lidSwitch = "hybrid-sleep";
|
||||
};
|
||||
|
|
|
@ -9,7 +9,7 @@ in
|
|||
(import ./_catppuccin.nix
|
||||
{
|
||||
inherit config lib pkgs;
|
||||
flavor = "mocha";
|
||||
flavor = "macchiato";
|
||||
rosewater = "f4dbd6";
|
||||
flamingo = "f0c6c6";
|
||||
pink = "f5bde6";
|
||||
|
|
|
@ -120,7 +120,6 @@ in
|
|||
sha256 = "sha256-S/1oUj9Aj6BElNTsDY8CTcKtS1j7Gl54JFgCywH05pg=";
|
||||
})
|
||||
];
|
||||
|
||||
});
|
||||
|
||||
# start using systemd service
|
||||
|
|
|
@ -23,6 +23,7 @@ in
|
|||
confirm_os_window_close = 0;
|
||||
background_opacity = "0.9";
|
||||
font_features = "IntelOneMono-Regular +ss01";
|
||||
resize_in_steps = "yes";
|
||||
};
|
||||
keybindings = {
|
||||
"ctrl+plus" = "change_font_size all +2.0";
|
||||
|
|
|
@ -16,7 +16,7 @@ in
|
|||
keyboardLayouts = mkOption {
|
||||
type = types.listOf types.str;
|
||||
description = "list of keyboard layouts";
|
||||
default = [ "us" ];
|
||||
default = [ "us" "de" ];
|
||||
};
|
||||
nvidiaSupport = mkEnableOption "nvidiaSupport";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue