Compare commits

...

2 Commits

Author SHA1 Message Date
Zynh Ludwig 439ab3f63b nixos smh 2024-06-27 20:57:44 -07:00
Zynh Ludwig ffd6536fdc system specific stuff 2024-06-27 20:29:26 -07:00
2 changed files with 34 additions and 8 deletions

View File

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

View File

@ -23,8 +23,28 @@ in
fade = false; 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 = { 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" ]; wantedBy = [ "graphical-session.target" ];
partOf = [ "graphical-session.target" ]; partOf = [ "graphical-session.target" ];
}; };