diff options
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/common.nix | 6 | ||||
-rw-r--r-- | nixos/wayfire.nix | 18 |
2 files changed, 19 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 ]; } |