move sway conf to git

This commit is contained in:
2026-09-20 05:31:19 +05:00
parent 70fd24f60d
commit fbefdddeb5
4 changed files with 188 additions and 0 deletions
+1
View File
@@ -7,6 +7,7 @@
./packages.nix
./fonts.nix
./nano.nix
./sway.nix
];
home.username = "shihaam";
+19
View File
@@ -0,0 +1,19 @@
# 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;
}