mlaga97-nix/systems/ll-latitude-e5591/home.nix

67 lines
1.6 KiB
Nix

{ pkgs, ... }: {
imports = [
../../home-manager/programs/thunderbird.nix
];
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
];
}