System/machines/levitation/home.nix

54 lines
1.2 KiB
Nix

{ config, lib, pkgs, ... }:
{
nathan = {
services = { email = { enable = true; }; };
config = { isDesktop = true; };
programs = {
util = { wine = true; };
games = { launcher = true; };
};
};
# Sway outputs
wayland.windowManager.sway.config = {
output = {
DP-1 = {
pos = "0 140";
scale = "1";
subpixel = "rgb";
max_render_time = "6";
};
DP-3 = {
pos = "2560 0";
scale = "1.25";
subpixel = "rgb";
max_render_time = "6";
};
HDMI-A-1 = {
pos = "5632 140";
scale = "1";
subpixel = "rgb";
max_render_time = "6";
};
};
input = { "type:pointer" = { pointer_accel = "-0.2"; }; };
startup = [
# GLPaper
{ command = "glpaper DP-1 ${../../custom-files/sway/selen.frag} --fork"; }
{ command = "glpaper DP-3 ${../../custom-files/sway/selen.frag} --fork"; }
{
command =
"glpaper HDMI-A-1 ${../../custom-files/sway/selen.frag} --fork";
}
# Up the mouse dpi
{ command = "solaar config 1 dpi 4000"; }
];
};
# Mako output configuration
programs.mako = {
# Lock mako notifs to main display
output = "DP-3";
};
}