diff --git a/stube-pc/home-manager.nix b/stube-pc/home-manager.nix index a76a7ef..8622583 100644 --- a/stube-pc/home-manager.nix +++ b/stube-pc/home-manager.nix @@ -208,11 +208,15 @@ in { home.persistence."/persist/home/stube" = { + files = [ + # xfconf.settings needs an existing installation (not all values are specified below) + ".config/xfce4/xfconf/xfce-perchannel-xml" + ]; directories = [ # keep mixxx song database between reboots ".mixxx" - # xfconf.settings needs an existing installation - ".config/xfce4" + "Music" + "Videos" ]; allowOther = false; }; @@ -301,7 +305,23 @@ in "panels/panel-2/plugin-ids" = [ 200 201 210 211 212 213 220 221 ]; }; xfce4-desktop = { + # right monitor (no background image to save displaylink bandwidth) + "backdrop/screen0/monitorDP-1/workspace0/image-style" = 0; + "backdrop/screen0/monitorDP-1/workspace0/color-style" = 0; + "backdrop/screen0/monitorDP-1/workspace0/rgba1" = [0.369 0.361 0.392 1]; + + # left monitor + "backdrop/screen0/monitorVGA-1/workspace0/image-style" = 5; + "backdrop/screen0/monitorVGA-1/workspace0/last-image" = "${./background.jpg}"; + + # beamer + "backdrop/screen0/monitorHDMI-1/workspace0/image-style" = 5; + "backdrop/screen0/monitorHDMI-1/workspace0/last-image" = "${./background.jpg}"; + + # virtual machine screen + "backdrop/screen0/monitorVirtual-1/workspace0/image-style" = 5; "backdrop/screen0/monitorVirtual-1/workspace0/last-image" = "${./background.jpg}"; + "desktop-icons/file-icons/show-home" = false; "desktop-icons/file-icons/show-filesystem" = false; "desktop-icons/file-icons/show-trash" = false; diff --git a/stube-pc/system.nix b/stube-pc/system.nix index b350efd..a718c6c 100644 --- a/stube-pc/system.nix +++ b/stube-pc/system.nix @@ -92,6 +92,8 @@ qlcplus ]; + services.logind.extraConfig = "HandlePowerKey=poweroff"; + # link current system configuration to /etc/current-nixos environment.etc."current-nixos".source = self; @@ -102,8 +104,6 @@ directories = [ "/var/log" "/var/lib/nixos" - "/var/lib/systemd/coredump" - "/etc/NetworkManager/system-connections" ]; files = [ "/etc/machine-id"