2022-07-02 02:44:43 -04:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
nathan = {
|
2022-10-13 22:13:43 -04:00
|
|
|
services = { email = { enable = true; }; };
|
|
|
|
config = { isDesktop = true; };
|
2022-07-17 23:24:27 -04:00
|
|
|
programs = {
|
2022-10-13 22:13:43 -04:00
|
|
|
util = { wine = true; };
|
|
|
|
games = { launcher = true; };
|
2023-02-19 20:03:05 -05:00
|
|
|
media.nicotineService = true;
|
2022-07-17 23:24:27 -04:00
|
|
|
};
|
2022-07-02 02:44:43 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
# Sway outputs
|
|
|
|
wayland.windowManager.sway.config = {
|
|
|
|
output = {
|
2023-01-14 03:09:27 -05:00
|
|
|
# DP-1 = {
|
|
|
|
# pos = "0 140";
|
|
|
|
# scale = "1";
|
|
|
|
# subpixel = "rgb";
|
|
|
|
# max_render_time = "6";
|
|
|
|
# };
|
|
|
|
DP-1 = { disable = ""; };
|
2022-07-02 02:44:43 -04:00
|
|
|
DP-3 = {
|
|
|
|
pos = "2560 0";
|
|
|
|
scale = "1.25";
|
|
|
|
subpixel = "rgb";
|
2022-12-10 20:05:07 -05:00
|
|
|
max_render_time = "6";
|
2022-07-02 02:44:43 -04:00
|
|
|
};
|
|
|
|
HDMI-A-1 = {
|
|
|
|
pos = "5632 140";
|
|
|
|
scale = "1";
|
|
|
|
subpixel = "rgb";
|
2022-12-10 20:05:07 -05:00
|
|
|
max_render_time = "6";
|
2022-07-02 02:44:43 -04:00
|
|
|
};
|
|
|
|
};
|
2023-01-14 03:09:27 -05:00
|
|
|
input = { "type:pointer" = { pointer_accel = "-0.3"; }; };
|
2022-07-02 02:44:43 -04:00
|
|
|
startup = [
|
|
|
|
# GLPaper
|
2023-01-14 03:09:27 -05:00
|
|
|
# { command = "glpaper DP-1 ${../../custom-files/sway/selen.frag} --fork"; }
|
2022-07-02 02:44:43 -04:00
|
|
|
{ command = "glpaper DP-3 ${../../custom-files/sway/selen.frag} --fork"; }
|
2022-10-13 22:13:43 -04:00
|
|
|
{
|
|
|
|
command =
|
|
|
|
"glpaper HDMI-A-1 ${../../custom-files/sway/selen.frag} --fork";
|
|
|
|
}
|
2022-11-25 22:17:56 -05:00
|
|
|
# Up the mouse dpi
|
|
|
|
{ command = "solaar config 1 dpi 4000"; }
|
2022-07-02 02:44:43 -04:00
|
|
|
];
|
|
|
|
};
|
2023-02-21 16:20:25 -05:00
|
|
|
|
|
|
|
# System specific autoruns
|
|
|
|
systemd.user.services = {
|
|
|
|
# Start up solaar in tray icon mode
|
|
|
|
solaar = {
|
|
|
|
Unit = {
|
|
|
|
Description = "Solarr";
|
|
|
|
After = [ "graphical-session.target" ];
|
|
|
|
};
|
|
|
|
Service = {
|
|
|
|
Type = "simple";
|
|
|
|
ExecStart = ''
|
|
|
|
${pkgs.solaar}/bin/solaar -w hide
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
# Startup noisetorch on our USB mic
|
|
|
|
noisetorch-startup = {
|
|
|
|
Unit = {
|
|
|
|
Description = "noisetorch";
|
|
|
|
After = [ "graphical-session.target" ];
|
|
|
|
};
|
|
|
|
Service = {
|
|
|
|
Type = "Noisetorch";
|
|
|
|
ExecStart = ''
|
|
|
|
/run/wrappers/bin/noisetorch -i alsa_input.usb-18072020_JLAB_TALK_GO_MICROPHONE-00.analog-stereo
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2022-07-02 02:44:43 -04:00
|
|
|
# Mako output configuration
|
|
|
|
programs.mako = {
|
|
|
|
# Lock mako notifs to main display
|
|
|
|
output = "DP-3";
|
|
|
|
};
|
|
|
|
}
|