nix/modules/home-manager/dragon.nix

72 lines
1.5 KiB
Nix
Raw Normal View History

2023-10-06 00:49:19 -05:00
{
2023-10-08 02:46:37 -05:00
config,
2023-10-06 00:49:19 -05:00
lib,
outputs,
...
}: {
imports = with outputs.homeManagerModules; [
2023-10-08 02:46:37 -05:00
melee
2023-10-06 00:49:19 -05:00
sway
2023-11-07 21:30:26 -06:00
hyprland
2023-10-06 00:49:19 -05:00
];
2023-11-07 17:09:05 -06:00
wayland.windowManager.hyprland = {
settings = {
2023-11-07 23:55:16 -06:00
env = [
"EWW_BAR_MON,1"
];
2023-11-07 17:09:05 -06:00
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
monitor = [
"DP-3,3840x2160@120,0x0,1"
];
2023-11-07 23:55:16 -06:00
input = {
force_no_accel = true;
sensitivity = 1; # -1.0 - 1.0, 0 means no modification.
};
2023-11-07 17:09:05 -06:00
};
};
2023-10-06 00:49:19 -05:00
wayland.windowManager.sway = {
config = {
output = {
"GIGA-BYTE TECHNOLOGY CO., LTD. AORUS FO48U 23070B000307" = {
mode = "3840x2160@120Hz";
2023-11-01 11:07:10 -05:00
position = "0,0";
2023-10-06 00:49:19 -05:00
};
"Dell Inc. DELL U2720Q D3TM623" = {
# desktop left vertical monitor
mode = "3840x2160@60Hz";
transform = "90";
scale = "1.5";
2023-11-01 11:07:10 -05:00
position = "3840,0";
2023-10-06 00:49:19 -05:00
};
};
workspaceOutputAssign =
(
map
(ws: {
output = "GIGA-BYTE TECHNOLOGY CO., LTD. AORUS FO48U 23070B000307";
workspace = toString ws;
})
(lib.range 1 7)
)
++ (
map
(ws: {
output = "Dell Inc. DELL U2720Q D3TM623";
workspace = toString ws;
})
(lib.range 8 9)
);
};
};
2023-10-08 02:46:37 -05:00
ssbm = {
slippi-launcher = {
isoPath = "${config.home.homeDirectory}/../games/roms/dolphin/melee.iso";
};
};
2023-10-06 00:49:19 -05:00
}