From 882ed7fad78b975514f415861f52d79bb6f6483f Mon Sep 17 00:00:00 2001 From: Alexander Wainwright Date: Sun, 21 Dec 2025 21:41:36 +1000 Subject: [PATCH] Fix some stuff i broke in the refactor --- hosts/count/configuration.nix | 1 + hosts/modules/sway.nix | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 hosts/modules/sway.nix diff --git a/hosts/count/configuration.nix b/hosts/count/configuration.nix index f81ecc3..83bc3c0 100644 --- a/hosts/count/configuration.nix +++ b/hosts/count/configuration.nix @@ -12,6 +12,7 @@ ../modules/desktop.nix ../modules/brother-printer.nix ../modules/home.nix + ../modules/sway.nix ]; # Bootloader. diff --git a/hosts/modules/sway.nix b/hosts/modules/sway.nix new file mode 100644 index 0000000..c621143 --- /dev/null +++ b/hosts/modules/sway.nix @@ -0,0 +1,19 @@ +{ config, pkgs, ... }: +{ + # Enable the Sway binary and hardware wrappers + programs.sway = { + enable = true; + wrapperFeatures.gtk = true; + }; + + # Hardware and security services that must be system-wide + services.gnome.gnome-keyring.enable = true; + security.polkit.enable = true; + programs.light.enable = true; # Allow brightness control + + # Move system-wide packages here + environment.systemPackages = with pkgs; [ + pavucontrol + light + ]; +}