This commit is contained in:
iofq 2024-08-10 02:17:24 -05:00
parent a897205c77
commit 0d9458d7cf
10 changed files with 112 additions and 110 deletions

View file

@ -10,7 +10,6 @@
home.sessionVariables = {
# needed for Sway and Firefox to play nice
XDG_CURRENT_DESKTOP = "sway";
MOZ_DBUS_REMOTE = 1;
};
systemd.user.services.autotiling = {
Install = {
@ -23,15 +22,6 @@
RestartSec = 5;
};
};
services.gammastep = {
enable = true;
dawnTime = "6:00-8:00";
duskTime = "20:00-22:00";
latitude = 43.0;
longitude = -89.0;
temperature.day = 6000;
temperature.night = 3500;
};
wayland.windowManager.sway = {
enable = true;
wrapperFeatures.gtk = true;
@ -199,64 +189,4 @@
};
};
};
programs.swaylock = {
enable = true;
package = pkgs.swaylock-effects;
settings = {
color = "#764783";
daemonize = true;
clock = true;
ignore-empty-password = true;
};
};
services.swayidle = {
enable = true;
events = [
{
event = "before-sleep";
command = "${config.programs.swaylock.package}/bin/swaylock";
}
{
event = "lock";
command = "${config.programs.swaylock.package}/bin/swaylock";
}
];
};
services.kanshi = {
enable = true;
profiles = {
nodock = {
outputs = [
{
criteria = "eDP-1";
}
];
};
dock = {
outputs = [
{
criteria = "HDMI-A-1";
status = "enable";
mode = "1920x1080@60Hz";
position = "0,0";
}
];
};
bothdock = {
outputs = [
{
criteria = "eDP-1";
status = "enable";
position = "0,1080";
}
{
criteria = "HDMI-A-1";
status = "enable";
mode = "1920x1080@60Hz";
position = "0,0";
}
];
};
};
};
}