Files
2026-09-20 05:31:19 +05:00

20 lines
777 B
Nix

# sway. The config stays in real sway syntax at config/sway/config and is
# symlinked into place, rather than being translated into
# wayland.windowManager.sway options.
#
# programs.sway.enable stays in hosts/la2410/configuration.nix -- that handles
# the session, polkit and dbus wiring, and pulls in the default extraPackages
# (swaylock, swayidle, foot, dmenu). This file only writes the config file.
#
# Iteration loop is now: edit config/sway/config -> git add if new ->
# nixos-rebuild switch -> swaymsg reload.
{ ... }:
{
xdg.configFile."sway/config".source = ../config/sway/config;
# included from config line 141: include ~/.config/sway/config.d/displays.conf
xdg.configFile."sway/config.d/displays.conf".source =
../config/sway/config.d/displays.conf;
}