Refactor sway stuff

This commit is contained in:
Alexander Wainwright 2025-12-21 18:57:15 +10:00
parent c6efec9bb7
commit 1f76671a71
5 changed files with 80 additions and 34 deletions

19
hosts/modules/sway.nix Normal file
View file

@ -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
];
}