diff options
-rw-r--r-- | nixos/common.nix | 6 | ||||
-rw-r--r-- | nixos/wayfire.nix | 18 | ||||
-rw-r--r-- | sway/config | 11 |
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 |