switching to helix once again
This commit is contained in:
parent
ac437336e8
commit
f6d4e24564
7 changed files with 41 additions and 31 deletions
|
@ -11,5 +11,6 @@ _: {
|
|||
./styling
|
||||
./options
|
||||
./system/nix/module.nix
|
||||
./system
|
||||
];
|
||||
}
|
||||
|
|
|
@ -24,7 +24,6 @@ in {
|
|||
};
|
||||
keys.normal = {
|
||||
C-g = [":new" ":insert-output lazygit" ":buffer-close!" ":redraw"];
|
||||
C-t = [":new" ":insert-output fish" ":buffer-close!" ":redraw"];
|
||||
esc = ["collapse_selection" "keep_primary_selection"];
|
||||
A-H = "goto_previous_buffer";
|
||||
A-L = "goto_next_buffer";
|
||||
|
@ -35,7 +34,8 @@ in {
|
|||
{
|
||||
name = "nix";
|
||||
auto-format = true;
|
||||
formatter.command = "${pkgs.nixfmt-classic}/bin/nixfmt";
|
||||
formatter.command = "${pkgs.alejandra}/bin/alejandra";
|
||||
language-servers = ["${pkgs.nil}/bin/nil"];
|
||||
}
|
||||
];
|
||||
};
|
||||
|
|
5
modules/system/default.nix
Normal file
5
modules/system/default.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
_: {
|
||||
imports = [
|
||||
./keyboard.nix
|
||||
];
|
||||
}
|
8
modules/system/keyboard.nix
Normal file
8
modules/system/keyboard.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
services.xserver = {
|
||||
layout = "de,us";
|
||||
xkbVariant = ",cmk_ed_dh";
|
||||
xkbModel = ",pc105awide";
|
||||
xkbOptions = ",misc:extend,lv5:caps_switch_lock,compose:menu";
|
||||
};
|
||||
}
|
|
@ -20,11 +20,11 @@
|
|||
;
|
||||
in {
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
inherit (cfg) package;
|
||||
portalPackage = inputs'.hyprland.packages.xdg-desktop-portal-hyprland;
|
||||
};
|
||||
# programs.hyprland = {
|
||||
# enable = true;
|
||||
# inherit (cfg) package;
|
||||
# portalPackage = inputs'.hyprland.packages.xdg-desktop-portal-hyprland;
|
||||
# };
|
||||
# xdg Portal
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
|
@ -124,16 +124,16 @@ in {
|
|||
];
|
||||
# Input settings
|
||||
input = {
|
||||
kb_layout = "de";
|
||||
kb_variant = "";
|
||||
kb_model = "";
|
||||
kb_options = "";
|
||||
kb_rules = "";
|
||||
kb_layout = "de,us";
|
||||
kb_variant = ",cmk_ed_dh";
|
||||
kb_model = ",pc105awide";
|
||||
kb_options = "grp:alt_shift_toggle,misc:extend,lv5:caps_switch_lock,compose:menu";
|
||||
kb_rules = ",evdev";
|
||||
|
||||
follow_mouse = true;
|
||||
|
||||
repeat_rate = 50;
|
||||
repeat_delay = 250;
|
||||
repeat_delay = 200;
|
||||
|
||||
touchpad = {
|
||||
disable_while_typing = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue