From 09dc1fefcf73dd3e57939105c22d050a65222211 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Sun, 1 Dec 2024 10:31:03 +0100 Subject: add sway The config is the default config copied from /etc/sway/config. --- nixos/parts/graphical.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 nixos/parts/graphical.nix (limited to 'nixos/parts/graphical.nix') diff --git a/nixos/parts/graphical.nix b/nixos/parts/graphical.nix new file mode 100644 index 0000000..93082a9 --- /dev/null +++ b/nixos/parts/graphical.nix @@ -0,0 +1,12 @@ +{ config, pkgs, ... }: + +{ + programs.sway = { + enable = true; + # Execute sway with required environment variables for GTK apps. + wrapperFeatures.gtk = true; + }; + + environment.systemPackages = with pkgs; [ + ]; +} -- cgit v1.2.3