From 4010a4e69e48dd8a4aafda0c7e3c102118192d91 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 31 Jan 2024 12:23:53 +0100 Subject: update sway for gtk3 themes etc --- nixos/common.nix | 6 ++---- nixos/wayfire.nix | 18 +++++++++++++++++- 2 files changed, 19 insertions(+), 5 deletions(-) (limited to 'nixos') 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 ]; } -- cgit v1.2.3