summaryrefslogtreecommitdiff
path: root/nixos/parts
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/parts')
-rw-r--r--nixos/parts/graphical.nix12
1 files changed, 12 insertions, 0 deletions
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; [
+ ];
+}