Compare commits

..

No commits in common. "0e3faccc53aa3a91e2f0c2094a86742cbb45ea7d" and "2db048eb5a58340824411639b00689ec62a3aa9c" have entirely different histories.

5 changed files with 14 additions and 19 deletions

View file

@ -1,22 +1,19 @@
{pkgs, ... }: {pkgs, ... }:
let
kbd_file = pkgs.writeText "gpdwinmax.kbd"
''
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)"
};
'';
in
{ {
wayland.windowManager.sway.checkConfig = false; 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 = { wayland.windowManager.sway.config.input = {
"1:1:AT_Translated_Set_2_keyboard" = { "1:1:AT_Translated_Set_2_keyboard" = {
xkb_layout = "${kbd_file}"; xkb_layout = "gpdwinmax";
}; };
"1046:928:Goodix_Capacitive_TouchScreen" = { "1046:928:Goodix_Capacitive_TouchScreen" = {
map_to_output = "eDP-1"; map_to_output = "eDP-1";

Binary file not shown.

Before

Width:  |  Height:  |  Size: 637 KiB

View file

@ -24,7 +24,6 @@
gaming.lutris.enable = true; gaming.lutris.enable = true;
desktop.sway = { desktop.sway = {
enable = true; enable = true;
wallpapers.lockscreen = "${./files/lockscreen.png}";
kanshi = true; kanshi = true;
waybar = { waybar = {
laptop = true; laptop = true;

View file

@ -1,5 +1,4 @@
{ ... }: { { ... }: {
config.modules.desktop.sway.enable = true;
config.modules.gaming.steam.enable = true; config.modules.gaming.steam.enable = true;
config.modules.hardware.laptop.enable = true; config.modules.hardware.laptop.enable = true;
} }

View file

@ -21,8 +21,8 @@ in
}; };
desktop = mkOption { desktop = mkOption {
type = types.str; type = types.str;
default = "#000000 solid_color"; default = "";
description = "options for desktop wallpaper"; description = "path for desktop wallpaper";
}; };
}; };