mlaga97-nix/systems/ll-latitude-e5591/home.nix
2025-07-29 22:26:08 -05:00

75 lines
2 KiB
Nix

{ pkgs, ... }: {
home.stateVersion = "24.11";
imports = [
../../home-manager/programs/thunderbird.nix
];
xsession.windowManager.i3.extraConfig = ''
# Desk Lights
bindsym $mod+Shift+d exec curl -X POST https://homeassistant.mlaga97.space/api/webhook/--caDGWR8KXLTM3yZ6Y01XPe6
bindsym $mod+Shift+w exec curl -X POST https://homeassistant.mlaga97.space/api/webhook/-tbHkUPb8aLVcFaOQcXbBdIJb
bindsym $mod+Shift+o exec curl -X POST https://homeassistant.mlaga97.space/api/webhook/-fmYa59UtZaMXythyEsda_ulo
'';
home.file = {
".local/share/OpenSCAD/libraries/BOSL2" = {
source = builtins.fetchGit {
url = "https://github.com/BelfrySCAD/BOSL2";
rev = "7821a5143c7ab488ff3ff73d0cd0c4b508fb5796";
};
};
"latitude/tv" = {
executable = true;
text = ''
xrandr \
--output eDP-1 --mode 1920x1080 --primary \
--output DP-2-2 --mode 1920x1080
'';
};
"latitude/desk" = {
executable = true;
text = ''
xrandr \
--output eDP-1 --off \
--output DP-2-1 --mode 3840x2160 --rate 30 --right-of DP-2-2 \
--output DP-2-2 --mode 3840x2160 --rate 30 --primary
i3-msg restart
'';
};
"latitude/desk+" = {
executable = true;
text = ''
xrandr \
--output eDP-1 --mode 1920x1080 --left-of DP-2-2 \
--output DP-2-1 --mode 3840x2160 --rate 30 --right-of DP-2-2 \
--output DP-2-2 --mode 3840x2160 --rate 30 --primary
i3-msg restart
'';
};
"latitude/standalone" = {
executable = true;
text = ''
xrandr \
--output eDP-1 --mode 1920x1080 --primary \
--output DP-2-1 --off \
--output DP-2-2 --off \
--output DP-2-3 --off
i3-msg restart
'';
};
};
home.packages = with pkgs; [
# Dotspace
gthumb
qtpass
ledger
sound-juicer
#pkgs-unstable.yt-dlp
#pkgs-unstable.openscad-unstable
# ll-latitude-e5591
wine
];
}