Compare commits
No commits in common. "101ab079ac8427b9de5b6f2a5162c0950b7982cf" and "6cbe647af7c2a34d2f0e232044618055c2b9dbd5" have entirely different histories.
101ab079ac
...
6cbe647af7
5 changed files with 8 additions and 33 deletions
|
@ -27,29 +27,6 @@
|
|||
|
||||
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 = {
|
||||
|
@ -112,9 +89,9 @@
|
|||
lalt (tap-dance 200 (lmet (multi lmet alt) lmet lmet))
|
||||
|
||||
;; hjkl layer
|
||||
ralt (tap-hold 200 200 (layer-switch hjkl) (layer-while-held hjkl)) ;; tap: switch hold: switch while held
|
||||
ralt (layer-while-held hjkl)
|
||||
|
||||
;; switch to normal keyboard layout
|
||||
;; do not do fancy stuff
|
||||
rctl (layer-switch normal)
|
||||
)
|
||||
|
||||
|
@ -125,9 +102,7 @@
|
|||
h left
|
||||
j down
|
||||
k up
|
||||
l right
|
||||
|
||||
ralt (layer-switch default))
|
||||
l right)
|
||||
";
|
||||
};
|
||||
};
|
||||
|
@ -141,8 +116,8 @@
|
|||
|
||||
# SERVICES
|
||||
services = {
|
||||
libinput.enable = true;
|
||||
libinput.touchpad.disableWhileTyping = true;
|
||||
xserver.libinput.enable = true;
|
||||
xserver.libinput.touchpad.disableWhileTyping = true;
|
||||
printing.enable = true;
|
||||
logind.lidSwitch = "hybrid-sleep";
|
||||
};
|
||||
|
|
|
@ -9,7 +9,7 @@ in
|
|||
(import ./_catppuccin.nix
|
||||
{
|
||||
inherit config lib pkgs;
|
||||
flavor = "macchiato";
|
||||
flavor = "mocha";
|
||||
rosewater = "f4dbd6";
|
||||
flamingo = "f0c6c6";
|
||||
pink = "f5bde6";
|
||||
|
|
|
@ -120,6 +120,7 @@ in
|
|||
sha256 = "sha256-S/1oUj9Aj6BElNTsDY8CTcKtS1j7Gl54JFgCywH05pg=";
|
||||
})
|
||||
];
|
||||
|
||||
});
|
||||
|
||||
# start using systemd service
|
||||
|
|
|
@ -23,7 +23,6 @@ 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" "de" ];
|
||||
default = [ "us" ];
|
||||
};
|
||||
nvidiaSupport = mkEnableOption "nvidiaSupport";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue