Refactoring, add wine

This commit is contained in:
Lauren Lagarde 2025-03-13 22:25:46 -05:00
parent 290c6d1c31
commit 8e85199a56
7 changed files with 150 additions and 120 deletions

View file

@ -0,0 +1,33 @@
{ ... }: {
home.file = {
"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/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
'';
};
};
}

View file

@ -1,81 +1,39 @@
#{ pkgs, pkgs-unstable, ... }: {
{ pkgs, ... }: {
imports = [
./latitude-e5591.nix
../programs/thunderbird.nix
];
home.file = {
"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/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; [
# TODO: Polybar Stuff
siji
font-awesome
font-awesome_5
networkmanagerapplet
# TODO: Figure these ones out
#dunst
#xidlehook?
# TODO: i3 Stuff
gnome-terminal
rofi
i3status
i3lock
i3blocks
nemo-with-extensions
dunst
pinentry-qt
brightnessctl
shutter
pavucontrol
arandr
blueman
gparted
loupe
# Lauren Base GUI
vlc
mpv
xorg.xkill
gparted
shutter
nemo-with-extensions
# Other Apps
chromium
qtpass
#pkgs-unstable.yt-dlp
#pkgs-unstable.openscad-unstable
yt-dlp
librecad
libreoffice
virt-manager
sublime-merge
openscad-unstable
sublime-merge
libreoffice
# Dotspace
gthumb
qtpass
ledger
sound-juicer
#pkgs-unstable.yt-dlp
#pkgs-unstable.openscad-unstable
# ll-latitude-e5591
wine
];
}

View file

@ -0,0 +1,54 @@
{ ... }: {
home.packages = with pkgs; [
alsa-utils
];
home.file = {
"precision/fixmicrophone" = {
executable = true;
text = ''
# https://github.com/NixOS/nixpkgs/issues/294170
sudo ln -s /run/current-system/sw/bin/rm /bin
sudo ln -s /run/current-system/sw/bin/mkdir /bin
# https://discourse.nixos.org/t/dell-xps-13-9320-microphone-not-working/40932/3
sudo alsactl init
systemctl --user restart pipewire
'';
};
"precision/home" = {
executable = true;
text = ''
xrandr \
--output DP-4-3 --mode 3840x2160 --rate 30 --primary \
--output DP-4-1 --mode 3840x2160 --rate 30 --right-of DP-4-3 \
--output eDP-1 --off
i3-msg restart
'';
};
"precision/office" = {
executable = true;
text = ''
xrandr \
--output DP-2-2 --mode 3840x2160 --rate 30 --primary \
--output DP-2-1 --mode 3840x2160 --rate 30 --right-of DP-2-2 \
--output eDP-1 --off
i3-msg restart
'';
};
"precision/standalone" = {
executable = true;
text = ''
xrandr \
--output eDP-1 --mode 1920x1200 --primary \
--output DP-4 --off \
--output DP-2-1 --off \
--output DP-2-2 --off \
--output DP-4-1 --off \
--output DP-4-3 --off
i3-msg restart
'';
};
};
}