Compare commits
4 commits
2db048eb5a
...
0e3faccc53
Author | SHA1 | Date | |
---|---|---|---|
0e3faccc53 | |||
98f0144732 | |||
e37f418f55 | |||
6810fb5e3f |
5 changed files with 19 additions and 14 deletions
BIN
hosts/morty/files/lockscreen.png
Normal file
BIN
hosts/morty/files/lockscreen.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 637 KiB |
|
@ -24,6 +24,7 @@
|
||||||
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;
|
||||||
|
|
|
@ -1,19 +1,22 @@
|
||||||
{pkgs, ... }:
|
{pkgs, ... }:
|
||||||
{
|
let
|
||||||
home.file.".xkb/symbols/gpdwinmax".text = ''
|
kbd_file = pkgs.writeText "gpdwinmax.kbd"
|
||||||
default partial alphanumeric_keys
|
''
|
||||||
xkb_symbols "us-intl-winmax" {
|
default partial alphanumeric_keys
|
||||||
|
xkb_symbols "us-intl-winmax" {
|
||||||
name[group1] = "GPD Win Max us-inlt";
|
name[group1] = "GPD Win Max us-inlt";
|
||||||
include "us(altgr-intl)"
|
include "us(altgr-intl)"
|
||||||
key <TAB> { [ Multi_key ] };
|
key <TAB> { [ Multi_key ] };
|
||||||
key <CAPS> { [ Tab ] };
|
key <CAPS> { [ Tab ] };
|
||||||
# include "level3(ralt_switch)"
|
# include "level3(ralt_switch)"
|
||||||
};
|
};
|
||||||
'';
|
'';
|
||||||
|
in
|
||||||
|
{
|
||||||
|
wayland.windowManager.sway.checkConfig = false;
|
||||||
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 = "gpdwinmax";
|
xkb_layout = "${kbd_file}";
|
||||||
};
|
};
|
||||||
"1046:928:Goodix_Capacitive_TouchScreen" = {
|
"1046:928:Goodix_Capacitive_TouchScreen" = {
|
||||||
map_to_output = "eDP-1";
|
map_to_output = "eDP-1";
|
|
@ -1,4 +1,5 @@
|
||||||
{ ... }: {
|
{ ... }: {
|
||||||
|
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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,8 +21,8 @@ in
|
||||||
};
|
};
|
||||||
desktop = mkOption {
|
desktop = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "";
|
default = "#000000 solid_color";
|
||||||
description = "path for desktop wallpaper";
|
description = "options for desktop wallpaper";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue