From ae4ba355f1353abac4bf6f3255c5bbf590d22056 Mon Sep 17 00:00:00 2001 From: albert Date: Fri, 5 Apr 2024 18:50:01 +0900 Subject: [PATCH] updates for xfce --- home-manager/common/desktops/xfce/default.nix | 4 +- .../common/desktops/xfce/xfconf/displays.xml | 39 ++++ .../common/desktops/xfce/xfconf/thunar.xml | 12 +- .../desktops/xfce/xfconf/xfce4-appfinder.xml | 47 +---- .../desktops/xfce/xfconf/xfce4-desktop.xml | 24 ++- .../xfce/xfconf/xfce4-keyboard-shortcuts.xml | 197 +----------------- .../desktops/xfce/xfconf/xfce4-notifyd.xml | 2 +- .../desktops/xfce/xfconf/xfce4-panel.xml | 10 +- .../xfce/xfconf/xfce4-power-manager.xml | 9 +- .../xfce/xfconf/xfce4-screenshotter.xml | 1 + .../xfce/xfconf/xfce4-settings-editor.xml | 10 +- .../desktops/xfce/xfconf/xfce4-terminal.xml | 3 +- .../common/desktops/xfce/xfconf/xsettings.xml | 2 +- nixos/common/desktops/xfce/default.nix | 5 + nixos/hosts/framework-server/containers.nix | 1 - 15 files changed, 80 insertions(+), 286 deletions(-) mode change 100644 => 120000 home-manager/common/desktops/xfce/xfconf/thunar.xml mode change 100644 => 120000 home-manager/common/desktops/xfce/xfconf/xfce4-appfinder.xml mode change 100644 => 120000 home-manager/common/desktops/xfce/xfconf/xfce4-keyboard-shortcuts.xml mode change 100644 => 120000 home-manager/common/desktops/xfce/xfconf/xfce4-power-manager.xml create mode 120000 home-manager/common/desktops/xfce/xfconf/xfce4-screenshotter.xml mode change 100644 => 120000 home-manager/common/desktops/xfce/xfconf/xfce4-settings-editor.xml diff --git a/home-manager/common/desktops/xfce/default.nix b/home-manager/common/desktops/xfce/default.nix index 6fd55282..607e0eaa 100644 --- a/home-manager/common/desktops/xfce/default.nix +++ b/home-manager/common/desktops/xfce/default.nix @@ -61,7 +61,7 @@ }; xdg.configFile."xsettings.xml" = { enable = true; - target = "xfce4/xfconf/xfce-perchannel-xml/xsettings.xml.xml"; - text = builtins.readFile ./xfconf/xsettings.xml.xml; + target = "xfce4/xfconf/xfce-perchannel-xml/xsettings.xml"; + text = builtins.readFile ./xfconf/xsettings.xml; }; } diff --git a/home-manager/common/desktops/xfce/xfconf/displays.xml b/home-manager/common/desktops/xfce/xfconf/displays.xml index 0dc41fc8..428afb76 100644 --- a/home-manager/common/desktops/xfce/xfconf/displays.xml +++ b/home-manager/common/desktops/xfce/xfconf/displays.xml @@ -2,4 +2,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/home-manager/common/desktops/xfce/xfconf/thunar.xml b/home-manager/common/desktops/xfce/xfconf/thunar.xml deleted file mode 100644 index a46e5cd9..00000000 --- a/home-manager/common/desktops/xfce/xfconf/thunar.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/home-manager/common/desktops/xfce/xfconf/thunar.xml b/home-manager/common/desktops/xfce/xfconf/thunar.xml new file mode 120000 index 00000000..39eaa986 --- /dev/null +++ b/home-manager/common/desktops/xfce/xfconf/thunar.xml @@ -0,0 +1 @@ +/nix/store/s0qm4ff5ajhv30gi9d0s9hqg56zkx3h3-home-manager-files/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml \ No newline at end of file diff --git a/home-manager/common/desktops/xfce/xfconf/xfce4-appfinder.xml b/home-manager/common/desktops/xfce/xfconf/xfce4-appfinder.xml deleted file mode 100644 index 7129a7a1..00000000 --- a/home-manager/common/desktops/xfce/xfconf/xfce4-appfinder.xml +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/home-manager/common/desktops/xfce/xfconf/xfce4-appfinder.xml b/home-manager/common/desktops/xfce/xfconf/xfce4-appfinder.xml new file mode 120000 index 00000000..1e7ed08a --- /dev/null +++ b/home-manager/common/desktops/xfce/xfconf/xfce4-appfinder.xml @@ -0,0 +1 @@ +/nix/store/s0qm4ff5ajhv30gi9d0s9hqg56zkx3h3-home-manager-files/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-appfinder.xml \ No newline at end of file diff --git a/home-manager/common/desktops/xfce/xfconf/xfce4-desktop.xml b/home-manager/common/desktops/xfce/xfconf/xfce4-desktop.xml index 94217366..58fde17a 100644 --- a/home-manager/common/desktops/xfce/xfconf/xfce4-desktop.xml +++ b/home-manager/common/desktops/xfce/xfconf/xfce4-desktop.xml @@ -40,12 +40,32 @@ + + + + + + + + + + + + + + + + + + + + - - + + diff --git a/home-manager/common/desktops/xfce/xfconf/xfce4-keyboard-shortcuts.xml b/home-manager/common/desktops/xfce/xfconf/xfce4-keyboard-shortcuts.xml deleted file mode 100644 index 2e09df45..00000000 --- a/home-manager/common/desktops/xfce/xfconf/xfce4-keyboard-shortcuts.xml +++ /dev/null @@ -1,196 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/home-manager/common/desktops/xfce/xfconf/xfce4-keyboard-shortcuts.xml b/home-manager/common/desktops/xfce/xfconf/xfce4-keyboard-shortcuts.xml new file mode 120000 index 00000000..6929bf3b --- /dev/null +++ b/home-manager/common/desktops/xfce/xfconf/xfce4-keyboard-shortcuts.xml @@ -0,0 +1 @@ +/nix/store/s0qm4ff5ajhv30gi9d0s9hqg56zkx3h3-home-manager-files/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml \ No newline at end of file diff --git a/home-manager/common/desktops/xfce/xfconf/xfce4-notifyd.xml b/home-manager/common/desktops/xfce/xfconf/xfce4-notifyd.xml index 70c80b62..db31b32c 100644 --- a/home-manager/common/desktops/xfce/xfconf/xfce4-notifyd.xml +++ b/home-manager/common/desktops/xfce/xfconf/xfce4-notifyd.xml @@ -9,7 +9,7 @@ - + diff --git a/home-manager/common/desktops/xfce/xfconf/xfce4-panel.xml b/home-manager/common/desktops/xfce/xfconf/xfce4-panel.xml index 71656f1c..f81c83f0 100644 --- a/home-manager/common/desktops/xfce/xfconf/xfce4-panel.xml +++ b/home-manager/common/desktops/xfce/xfconf/xfce4-panel.xml @@ -20,7 +20,6 @@ - @@ -35,7 +34,7 @@ - + @@ -62,11 +61,6 @@ - - - - - @@ -79,7 +73,7 @@ - + diff --git a/home-manager/common/desktops/xfce/xfconf/xfce4-power-manager.xml b/home-manager/common/desktops/xfce/xfconf/xfce4-power-manager.xml deleted file mode 100644 index a4119d00..00000000 --- a/home-manager/common/desktops/xfce/xfconf/xfce4-power-manager.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/home-manager/common/desktops/xfce/xfconf/xfce4-power-manager.xml b/home-manager/common/desktops/xfce/xfconf/xfce4-power-manager.xml new file mode 120000 index 00000000..5dbdf835 --- /dev/null +++ b/home-manager/common/desktops/xfce/xfconf/xfce4-power-manager.xml @@ -0,0 +1 @@ +/nix/store/s0qm4ff5ajhv30gi9d0s9hqg56zkx3h3-home-manager-files/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml \ No newline at end of file diff --git a/home-manager/common/desktops/xfce/xfconf/xfce4-screenshotter.xml b/home-manager/common/desktops/xfce/xfconf/xfce4-screenshotter.xml new file mode 120000 index 00000000..261b5024 --- /dev/null +++ b/home-manager/common/desktops/xfce/xfconf/xfce4-screenshotter.xml @@ -0,0 +1 @@ +/nix/store/s0qm4ff5ajhv30gi9d0s9hqg56zkx3h3-home-manager-files/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-screenshotter.xml \ No newline at end of file diff --git a/home-manager/common/desktops/xfce/xfconf/xfce4-settings-editor.xml b/home-manager/common/desktops/xfce/xfconf/xfce4-settings-editor.xml deleted file mode 100644 index a7c84531..00000000 --- a/home-manager/common/desktops/xfce/xfconf/xfce4-settings-editor.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/home-manager/common/desktops/xfce/xfconf/xfce4-settings-editor.xml b/home-manager/common/desktops/xfce/xfconf/xfce4-settings-editor.xml new file mode 120000 index 00000000..7de2f0d6 --- /dev/null +++ b/home-manager/common/desktops/xfce/xfconf/xfce4-settings-editor.xml @@ -0,0 +1 @@ +/nix/store/s0qm4ff5ajhv30gi9d0s9hqg56zkx3h3-home-manager-files/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-editor.xml \ No newline at end of file diff --git a/home-manager/common/desktops/xfce/xfconf/xfce4-terminal.xml b/home-manager/common/desktops/xfce/xfconf/xfce4-terminal.xml index e588d383..acca3607 100644 --- a/home-manager/common/desktops/xfce/xfconf/xfce4-terminal.xml +++ b/home-manager/common/desktops/xfce/xfconf/xfce4-terminal.xml @@ -18,7 +18,7 @@ - + @@ -26,4 +26,5 @@ + diff --git a/home-manager/common/desktops/xfce/xfconf/xsettings.xml b/home-manager/common/desktops/xfce/xfconf/xsettings.xml index 26f49872..866d64de 100644 --- a/home-manager/common/desktops/xfce/xfconf/xsettings.xml +++ b/home-manager/common/desktops/xfce/xfconf/xsettings.xml @@ -3,7 +3,7 @@ - + diff --git a/nixos/common/desktops/xfce/default.nix b/nixos/common/desktops/xfce/default.nix index 1df68447..ee1fc40a 100644 --- a/nixos/common/desktops/xfce/default.nix +++ b/nixos/common/desktops/xfce/default.nix @@ -1,4 +1,8 @@ { pkgs, ... }: { + imports = [ + ../../modules/fonts.nix + ]; + # Enable sound with pipewire. sound.enable = true; hardware.pulseaudio.enable = false; @@ -26,5 +30,6 @@ papirus-nord xfce.xfwm4-themes dconf2nix # https://github.com/gvolpe/dconf2nix + arc-theme ]; } diff --git a/nixos/hosts/framework-server/containers.nix b/nixos/hosts/framework-server/containers.nix index 27d5661b..88e77fb3 100644 --- a/nixos/hosts/framework-server/containers.nix +++ b/nixos/hosts/framework-server/containers.nix @@ -1,7 +1,6 @@ { lib, self, inputs, outputs, stateVersion, hmStateVersion, ... }: let libx = import ../../../lib { inherit lib self inputs outputs stateVersion hmStateVersion; }; - lanInterface = "enp0s13f0u4"; in { containers = { rdesktop = libx.mkContainer { hostname = "rdesktop"; unfree = true; desktop = "xfce"; };