Compare commits

...

2 Commits

Author SHA1 Message Date
Zynh Ludwig bb13574f27 system specific stuff 2024-06-27 20:57:56 -07:00
Zynh Ludwig 836d44da52 nixos smh 2024-06-27 20:57:56 -07:00
2 changed files with 34 additions and 8 deletions

View File

@ -11,8 +11,8 @@
];
# Bootloader.
# boot.loader.systemd-boot.enable = true;
# boot.loader.efi.canTouchEfiVariables = true;
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
@ -48,11 +48,10 @@
# Enable the X11 windowing system.
services.xserver.enable = true;
# Enable the XFCE Desktop Environment.
# services.xserver.displayManager.lightdm.enable = true;
snowhawk.dwm.enable = true;
# Enable the XFCE Desktop Environment.
# services.xserver.displayManager.lightdm.enable = true;
# services.xserver.desktopManager.budgie.enable = true;
# Configure keymap in X11
@ -107,16 +106,23 @@
unzip
fzf
tree
libsecret
nix-output-monitor
brave
gparted
arandr
flameshot
# steam
# spotify
# discord
spotify
discord
xivlauncher
# (xivlauncher.override {
# useSteamRun = false;
# })
git-credential-oauth

View File

@ -23,8 +23,28 @@ in
fade = false;
};
systemd.user.services.screenlayout = {
script = ''
${pkgs.xorg.xrandr}/bin/xrandr \
--output DP-0 --primary --mode 1920x1080 --pos 1922x0 --rotate normal \
--output DP-1 --off \
--output HDMI-0 --mode 1920x1080 --pos 0x0 --rotate normal \
--output DP-2 --off \
--output DP-3 --off \
--output HDMI-1 --off \
--output DP-4 --off \
--output DP-5 --off
'';
wantedBy = [ "graphical-session.target" ];
partOf = [ "graphical-session.target" ];
};
systemd.user.services.xrootdatetime = {
script = builtins.readFile ../home/scripts/x-root-datetime.sh;
script = ''
while true; do
sleep 1 && date +"<-- %A, %B %d -- %H:%M -->" | xargs -I% ${pkgs.xorg.xsetroot}/bin/xsetroot -name %
done
'';
wantedBy = [ "graphical-session.target" ];
partOf = [ "graphical-session.target" ];
};