2023-04-30 23:06:47 -04:00
|
|
|
{ config, lib, pkgs, inputs, ... }: {
|
2022-07-02 02:44:43 -04:00
|
|
|
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 = {
|
2023-05-01 17:27:46 -04:00
|
|
|
util = {
|
|
|
|
wine = true;
|
|
|
|
git = {
|
|
|
|
gpgSign = false;
|
|
|
|
sshSign = true;
|
|
|
|
};
|
|
|
|
};
|
2022-10-13 22:13:43 -04:00
|
|
|
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
|
|
|
};
|
|
|
|
|
2023-05-14 18:56:23 -04:00
|
|
|
home.packages = with pkgs; [ gammastep fido2luks ];
|
2023-03-29 00:00:17 -04:00
|
|
|
|
2022-07-02 02:44:43 -04:00
|
|
|
# Sway outputs
|
|
|
|
wayland.windowManager.sway.config = {
|
|
|
|
output = {
|
2023-03-02 00:05:11 -05:00
|
|
|
DP-1 = {
|
2023-05-06 21:41:43 -04:00
|
|
|
scale = "1.4";
|
2022-07-02 02:44:43 -04:00
|
|
|
subpixel = "rgb";
|
2022-12-10 20:05:07 -05:00
|
|
|
max_render_time = "6";
|
2023-04-18 17:18:18 -04:00
|
|
|
adaptive_sync = "on";
|
2023-04-18 18:20:03 -04:00
|
|
|
render_bit_depth = "10";
|
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 = [
|
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
|
|
|
|
2023-06-13 23:21:21 -04:00
|
|
|
# Hyprland outputs
|
|
|
|
wayland.windowManager.hyprland.extraConfig = ''
|
|
|
|
monitor=DP-1,preferred,auto,1.4,bitdepth,10
|
|
|
|
input {
|
|
|
|
sensitivity = -0.3
|
|
|
|
# accel_profile = flat
|
|
|
|
}
|
2023-06-14 05:45:35 -04:00
|
|
|
exec-once=hyprpaper
|
2023-06-13 23:21:21 -04:00
|
|
|
'';
|
2023-04-19 18:32:01 -04:00
|
|
|
|
2023-06-14 05:45:35 -04:00
|
|
|
# Background
|
|
|
|
xdg.configFile."hypr/hyprpaper.conf" = {
|
|
|
|
text = ''
|
|
|
|
preload = /home/nathan/Pictures/Backgrounds/IMG_20190518_195619.jpg
|
|
|
|
wallpaper = DP-1,/home/nathan/Pictures/Backgrounds/IMG_20190518_195619.jpg
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
2023-03-29 00:00:17 -04:00
|
|
|
# Gammastep
|
|
|
|
services.gammastep = {
|
|
|
|
enable = true;
|
|
|
|
latitude = 38.02972;
|
|
|
|
longitude = -84.49472;
|
|
|
|
tray = true;
|
2023-03-29 18:01:33 -04:00
|
|
|
temperature = {
|
|
|
|
day = 6300;
|
2023-05-06 21:41:43 -04:00
|
|
|
night = 4300;
|
2023-03-29 18:01:33 -04:00
|
|
|
};
|
2023-03-29 00:00:17 -04:00
|
|
|
settings = { general = { fade = 1; }; };
|
|
|
|
};
|
|
|
|
|
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
|
|
|
|
'';
|
|
|
|
};
|
2023-02-21 16:35:44 -05:00
|
|
|
Install = { WantedBy = [ "graphical-session.target" ]; };
|
2023-02-21 16:20:25 -05:00
|
|
|
};
|
|
|
|
# Startup noisetorch on our USB mic
|
|
|
|
noisetorch-startup = {
|
|
|
|
Unit = {
|
|
|
|
Description = "noisetorch";
|
|
|
|
After = [ "graphical-session.target" ];
|
|
|
|
};
|
|
|
|
Service = {
|
2023-02-21 16:35:44 -05:00
|
|
|
Type = "oneshot";
|
2023-03-02 00:09:47 -05:00
|
|
|
ExecStartPre = "/run/current-system/sw/bin/sleep 5";
|
2023-02-21 16:20:25 -05:00
|
|
|
ExecStart = ''
|
|
|
|
/run/wrappers/bin/noisetorch -i alsa_input.usb-18072020_JLAB_TALK_GO_MICROPHONE-00.analog-stereo
|
|
|
|
'';
|
|
|
|
};
|
2023-02-21 16:35:44 -05:00
|
|
|
Install = { WantedBy = [ "graphical-session.target" ]; };
|
2023-02-21 16:20:25 -05:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2022-07-02 02:44:43 -04:00
|
|
|
# Mako output configuration
|
2023-05-30 09:18:20 -04:00
|
|
|
services.mako = {
|
2022-07-02 02:44:43 -04:00
|
|
|
# Lock mako notifs to main display
|
2023-03-02 00:05:11 -05:00
|
|
|
output = "DP-1";
|
2022-07-02 02:44:43 -04:00
|
|
|
};
|
|
|
|
}
|