Compare commits

..

5 Commits

5 changed files with 33 additions and 8 deletions

View File

@ -27,6 +27,29 @@
users.users.moritz.packages = [ pkgs.poetry ]; 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 = { services.kanata = {
enable = true; enable = true;
keyboards = { keyboards = {
@ -89,9 +112,9 @@
lalt (tap-dance 200 (lmet (multi lmet alt) lmet lmet)) lalt (tap-dance 200 (lmet (multi lmet alt) lmet lmet))
;; hjkl layer ;; 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) rctl (layer-switch normal)
) )
@ -102,7 +125,9 @@
h left h left
j down j down
k up k up
l right) l right
ralt (layer-switch default))
"; ";
}; };
}; };
@ -116,8 +141,8 @@
# SERVICES # SERVICES
services = { services = {
xserver.libinput.enable = true; libinput.enable = true;
xserver.libinput.touchpad.disableWhileTyping = true; libinput.touchpad.disableWhileTyping = true;
printing.enable = true; printing.enable = true;
logind.lidSwitch = "hybrid-sleep"; logind.lidSwitch = "hybrid-sleep";
}; };

View File

@ -9,7 +9,7 @@ in
(import ./_catppuccin.nix (import ./_catppuccin.nix
{ {
inherit config lib pkgs; inherit config lib pkgs;
flavor = "mocha"; flavor = "macchiato";
rosewater = "f4dbd6"; rosewater = "f4dbd6";
flamingo = "f0c6c6"; flamingo = "f0c6c6";
pink = "f5bde6"; pink = "f5bde6";

View File

@ -120,7 +120,6 @@ in
sha256 = "sha256-S/1oUj9Aj6BElNTsDY8CTcKtS1j7Gl54JFgCywH05pg="; sha256 = "sha256-S/1oUj9Aj6BElNTsDY8CTcKtS1j7Gl54JFgCywH05pg=";
}) })
]; ];
}); });
# start using systemd service # start using systemd service

View File

@ -23,6 +23,7 @@ in
confirm_os_window_close = 0; confirm_os_window_close = 0;
background_opacity = "0.9"; background_opacity = "0.9";
font_features = "IntelOneMono-Regular +ss01"; font_features = "IntelOneMono-Regular +ss01";
resize_in_steps = "yes";
}; };
keybindings = { keybindings = {
"ctrl+plus" = "change_font_size all +2.0"; "ctrl+plus" = "change_font_size all +2.0";

View File

@ -16,7 +16,7 @@ in
keyboardLayouts = mkOption { keyboardLayouts = mkOption {
type = types.listOf types.str; type = types.listOf types.str;
description = "list of keyboard layouts"; description = "list of keyboard layouts";
default = [ "us" ]; default = [ "us" "de" ];
}; };
nvidiaSupport = mkEnableOption "nvidiaSupport"; nvidiaSupport = mkEnableOption "nvidiaSupport";
}; };