Compare commits
4 commits
9462a7486e
...
d66c525190
Author | SHA1 | Date | |
---|---|---|---|
d66c525190 | |||
290d2f0c3d | |||
286917b79a | |||
8a7c0c84a0 |
6 changed files with 55 additions and 20 deletions
|
@ -6,10 +6,10 @@
|
|||
defaultKeymap = "viins";
|
||||
enableCompletion = true;
|
||||
history = {
|
||||
expireDuplicatesFirst = true;
|
||||
ignoreAllDups = true;
|
||||
save = 10000;
|
||||
share = true;
|
||||
path = ".local/share/zsh/history";
|
||||
path = "$HOME/.local/share/zsh/history";
|
||||
};
|
||||
historySubstringSearch = {
|
||||
enable = true;
|
||||
|
|
|
@ -11,26 +11,13 @@
|
|||
down = "j";
|
||||
up = "k";
|
||||
right = "l";
|
||||
bars= [];
|
||||
input = {
|
||||
"*" = {
|
||||
"1003:8258:MNT_Reform_Keyboard" = {
|
||||
xkb_layout = "us";
|
||||
xkb_variant = "altgr-intl";
|
||||
};
|
||||
};
|
||||
output = {
|
||||
"Iiyama North America PL2792UH 1166310803122" = {
|
||||
mode = "3840x2160@60Hz";
|
||||
position = "0,0";
|
||||
scale = "2";
|
||||
};
|
||||
"Iiyama North America PL2792UH 1176923201598" = {
|
||||
mode = "3840x2160@60Hz";
|
||||
position = "1920,0";
|
||||
scale = "2";
|
||||
transform = "90";
|
||||
};
|
||||
};
|
||||
bars= [];
|
||||
keybindings = let
|
||||
mod = config.wayland.windowManager.sway.config.modifier;
|
||||
inherit (config.wayland.windowManager.sway.config)
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
}
|
||||
{
|
||||
timeout = 600;
|
||||
command = "swaymsg 'output * dpms off'";
|
||||
resumeCommand = "swaymsg 'output * dpms on'";
|
||||
command = ''${pkgs.sway}/bin/swaymsg "output * power off'';
|
||||
resumeCommand = ''${pkgs.sway}/bin/swaymsg "output * power on"'';
|
||||
}
|
||||
];
|
||||
events = [
|
||||
|
|
30
home-manager/hosts/morty.nix
Normal file
30
home-manager/hosts/morty.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
_: {
|
||||
home.file.".xkb/symbols/gpdwinmax".text = ''
|
||||
default partial alphanumeric_keys
|
||||
xkb_symbols "us-intl-winmax" {
|
||||
name[group1] = "GPD Win Max us-inlt";
|
||||
include "us(altgr-intl)"
|
||||
key <TAB> { [ Multi_key ] };
|
||||
key <CAPS> { [ Tab ] };
|
||||
# include "level3(ralt_switch)"
|
||||
};
|
||||
'';
|
||||
|
||||
wayland.windowManager.sway.config.input = {
|
||||
"1:1:AT_Translated_Set_2_keyboard" = {
|
||||
xkb_layout = "gpdwinmax";
|
||||
};
|
||||
"1046:928:Goodix_Capacitive_TouchScreen" = {
|
||||
map_to_output = "eDP-1";
|
||||
};
|
||||
"2362:597:HTIX5288:00_093A:0255_Touchpad" = {
|
||||
"tap" = "enable";
|
||||
"pointer_accel" = "0.3";
|
||||
};
|
||||
};
|
||||
wayland.windowManager.sway.config.output = {
|
||||
"eDP-1" = {
|
||||
transform = "90";
|
||||
};
|
||||
};
|
||||
}
|
15
home-manager/hosts/mrmeeseeks.nix
Normal file
15
home-manager/hosts/mrmeeseeks.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
_: {
|
||||
wayland.windowManager.sway.config.output = {
|
||||
"Iiyama North America PL2792UH 1166310803122" = {
|
||||
mode = "3840x2160@60Hz";
|
||||
position = "0,0";
|
||||
scale = "2";
|
||||
};
|
||||
"Iiyama North America PL2792UH 1176923201598" = {
|
||||
mode = "3840x2160@60Hz";
|
||||
position = "1920,0";
|
||||
scale = "2";
|
||||
transform = "90";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -60,6 +60,7 @@
|
|||
useUserPackages = true;
|
||||
extraSpecialArgs = {
|
||||
inherit hostConfig;
|
||||
inherit hostname;
|
||||
};
|
||||
users.${username} = {
|
||||
home.stateVersion = stateVersion;
|
||||
|
@ -80,7 +81,9 @@
|
|||
if hostConfig.gaming then
|
||||
[ ../home-manager/lutris.nix ]
|
||||
else []
|
||||
);
|
||||
) ++ lib.optional (
|
||||
builtins.pathExists ../home-manager/hosts/${hostname}.nix
|
||||
) ../home-manager/hosts/${hostname}.nix;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue