92 lines
2.2 KiB
Nix
92 lines
2.2 KiB
Nix
{ config, lib, pkgs, inputs, ... }: {
|
|
nathan = {
|
|
services = { email = { enable = true; }; };
|
|
config = { isDesktop = true; };
|
|
programs = {
|
|
util = {
|
|
wine = true;
|
|
git = {
|
|
gpgSign = false;
|
|
sshSign = true;
|
|
};
|
|
};
|
|
games = { launcher = true; };
|
|
media.nicotineService = true;
|
|
};
|
|
};
|
|
|
|
home.packages = with pkgs; [ gammastep fido2luks ];
|
|
|
|
# Hyprland outputs
|
|
wayland.windowManager.hyprland.extraConfig = ''
|
|
# monitor=DP-1,preferred,auto,1.4,bitdepth,10
|
|
# disable 10 bit output for now as this breaks screenshots
|
|
monitor=DP-1,preferred,auto,1.4
|
|
input {
|
|
sensitivity = -0.8
|
|
# accel_profile = flat
|
|
}
|
|
exec-once=hyprpaper
|
|
'';
|
|
|
|
# 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
|
|
'';
|
|
};
|
|
|
|
# Gammastep
|
|
services.gammastep = {
|
|
enable = true;
|
|
latitude = 38.02972;
|
|
longitude = -84.49472;
|
|
tray = true;
|
|
temperature = {
|
|
day = 6300;
|
|
night = 4300;
|
|
};
|
|
settings = { general = { fade = 1; }; };
|
|
};
|
|
|
|
# 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
|
|
'';
|
|
};
|
|
Install = { WantedBy = [ "graphical-session.target" ]; };
|
|
};
|
|
# Startup noisetorch on our USB mic
|
|
noisetorch-startup = {
|
|
Unit = {
|
|
Description = "noisetorch";
|
|
After = [ "graphical-session.target" ];
|
|
};
|
|
Service = {
|
|
Type = "oneshot";
|
|
ExecStartPre = "/run/current-system/sw/bin/sleep 5";
|
|
ExecStart = ''
|
|
/run/wrappers/bin/noisetorch -i alsa_input.usb-18072020_JLAB_TALK_GO_MICROPHONE-00.analog-stereo
|
|
'';
|
|
};
|
|
Install = { WantedBy = [ "graphical-session.target" ]; };
|
|
};
|
|
};
|
|
|
|
# Mako output configuration
|
|
services.mako = {
|
|
# Lock mako notifs to main display
|
|
output = "DP-1";
|
|
};
|
|
}
|