Compare commits

...

7 commits

10 changed files with 31 additions and 17 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 637 KiB

View file

@ -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;

View file

@ -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";

View file

@ -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;
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 265 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

View file

@ -1,11 +1,16 @@
{ ... }: { { ... }: {
config.modules = { config.modules = {
application = { application = {
gnupg.enable = true;
zathura.enable = true; zathura.enable = true;
foot.enable = true; foot.enable = true;
}; };
cli = { cli = {
direnv.enable = true;
ghq.enable = true;
git.enable = true;
neovim.enable = true; neovim.enable = true;
utils.enable = true;
vifm.enable = true; vifm.enable = true;
zsh.enable = true; zsh.enable = true;
}; };
@ -20,6 +25,8 @@
desktop.sway = { desktop.sway = {
enable = true; enable = true;
kanshi = false; kanshi = false;
wallpapers.lockscreen = "${./files/lockscreen.png}";
wallpapers.desktop = "${./files/wallpaper.jpg} center #000000";
waybar = { waybar = {
laptop = false; laptop = false;
gpuThermal = { gpuThermal = {

View file

@ -1,15 +1,16 @@
_: { _: {
wayland.windowManager.sway.checkConfig = false;
wayland.windowManager.sway.config.output = { wayland.windowManager.sway.config.output = {
"Iiyama North America PL2792UH 1166310803122" = { "Iiyama North America PL2792UH 1166310803122" = {
mode = "3840x2160@60Hz"; mode = "3840x2160@60Hz";
position = "1080,0"; position = "1235,0";
scale = "2"; scale = "1.75";
bg = "~/medias/images/wallpapers/desktop.jpg center #000000"; bg = "~/medias/images/wallpapers/desktop.jpg center #000000";
}; };
"Iiyama North America PL2792UH 1176923201598" = { "Iiyama North America PL2792UH 1176923201598" = {
mode = "3840x2160@60Hz"; mode = "3840x2160@60Hz";
position = "0,0"; position = "0,0";
scale = "2"; scale = "1.75";
transform = "270"; transform = "270";
bg = "~/medias/images/wallpapers/desktop.jpg center #000000"; bg = "~/medias/images/wallpapers/desktop.jpg center #000000";
}; };

View file

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

View file

@ -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";
}; };
}; };