summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2024-01-31 12:23:53 +0100
committerAlex Auvolat <alex@adnab.me>2024-01-31 12:23:53 +0100
commit4010a4e69e48dd8a4aafda0c7e3c102118192d91 (patch)
tree5805599f0e84cb4a014503b6d9c9aee16984bef9
parent5eadc4463b69de2601886ecb2852336ad326ff2f (diff)
downloaduser-config-4010a4e69e48dd8a4aafda0c7e3c102118192d91.tar.gz
user-config-4010a4e69e48dd8a4aafda0c7e3c102118192d91.zip
update sway for gtk3 themes etc
-rw-r--r--nixos/common.nix6
-rw-r--r--nixos/wayfire.nix18
-rw-r--r--sway/config11
3 files changed, 30 insertions, 5 deletions
diff --git a/nixos/common.nix b/nixos/common.nix
index 3127abc..7c4a9cd 100644
--- a/nixos/common.nix
+++ b/nixos/common.nix
@@ -53,10 +53,6 @@
};
services.resolved.enable = false;
- networking.extraHosts = ''
- 201:8c16:538b:891c:96cb:c8f6:40dd:125d lindy
- '';
-
# Open ports in the firewall.
networking.firewall.allowedTCPPorts = [
2022 # openssh
@@ -332,6 +328,8 @@
# Enable the OpenSSH daemon.
# services.openssh.enable = true;
+ # ---- fancy networks and stuff ----
+
services.yggdrasil = {
enable = true;
persistentKeys = true;
diff --git a/nixos/wayfire.nix b/nixos/wayfire.nix
index 10ae1f6..2feeefd 100644
--- a/nixos/wayfire.nix
+++ b/nixos/wayfire.nix
@@ -8,6 +8,21 @@
security.pam.services.swaylock = {};
+ programs.sway = {
+ enable = true;
+ #package = pkgs.swayfx;
+ wrapperFeatures.gtk = true;
+ wrapperFeatures.base = true;
+ extraPackages = with pkgs; [
+ glib
+ ];
+ };
+ qt = {
+ enable = true;
+ platformTheme = "gnome";
+ style = "adwaita";
+ };
+
environment.systemPackages = with pkgs; [
# ---- wayfire ----
#wayfire-with-plugins
@@ -15,7 +30,7 @@
#wayfirePlugins.wf-shell
# ---- sway ----
- swayfx
+ #swayfx
swaybg
bemenu
swayimg
@@ -26,5 +41,6 @@
alacritty
swaylock
wdisplays
+ grim
];
}
diff --git a/sway/config b/sway/config
index 74e0921..54a986b 100644
--- a/sway/config
+++ b/sway/config
@@ -191,6 +191,17 @@ exec waybar
exec nm-applet
exec fcitx5
+# ---- GTK THEMING CONFIG ----
+
+set $gnome-schema org.gnome.desktop.interface
+
+exec_always {
+ gsettings set $gnome-schema gtk-theme 'Adwaita'
+ gsettings set $gnome-schema icon-theme 'Adwaita'
+ gsettings set $gnome-schema cursor-theme 'Adwaita'
+ #gsettings set $gnome-schema font-name 'Your font name'
+}
+
# ---- INCLUDED FROM 50-systemd-user.conf FROM ARCHLINUX sway PACKAGE ----
# sway does not set DISPLAY/WAYLAND_DISPLAY in the systemd user environment