62 lines
1.4 KiB
Nix
62 lines
1.4 KiB
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
{
|
||
|
nathan = {
|
||
|
# services = { email = { enable = true; }; };
|
||
|
config = { isDesktop = true; };
|
||
|
programs = {
|
||
|
media.enable = false;
|
||
|
util = { wine = true; };
|
||
|
# games = { launcher = true; };
|
||
|
# media.nicotineService = true;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
home.packages = with pkgs; [ gammastep ];
|
||
|
|
||
|
# Sway outputs
|
||
|
wayland.windowManager.sway.config = {
|
||
|
output = {
|
||
|
# DP-1 = {
|
||
|
# scale = "1.25";
|
||
|
# subpixel = "rgb";
|
||
|
# max_render_time = "6";
|
||
|
# adaptive_sync = "on";
|
||
|
# render_bit_depth = "10";
|
||
|
# };
|
||
|
};
|
||
|
input = { "type:pointer" = { pointer_accel = "-0.3"; }; };
|
||
|
startup = [ ];
|
||
|
};
|
||
|
|
||
|
# Sway background
|
||
|
|
||
|
# Spin up glpaper as a user service so we can have it restart on failure (liable due to kvm switch
|
||
|
# disconnecting input)
|
||
|
systemd.user.services.glpaper-dp1 = {
|
||
|
Unit = {
|
||
|
Description = "glpaper (DP-1)";
|
||
|
After = [ "graphical-session.target" ];
|
||
|
};
|
||
|
Service = {
|
||
|
Type = "simple";
|
||
|
ExecStart = ''
|
||
|
/etc/profiles/per-user/nathan/bin/glpaper DP-1 ${
|
||
|
../../custom-files/sway/selen.frag
|
||
|
}
|
||
|
'';
|
||
|
Restart = "always";
|
||
|
};
|
||
|
Install = { WantedBy = [ "graphical-session.target" ]; };
|
||
|
};
|
||
|
|
||
|
# System specific autoruns
|
||
|
systemd.user.services = { };
|
||
|
|
||
|
# Mako output configuration
|
||
|
programs.mako = {
|
||
|
# Lock mako notifs to main display
|
||
|
output = "DP-1";
|
||
|
};
|
||
|
}
|