move sway conf to git
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
./packages.nix
|
||||
./fonts.nix
|
||||
./nano.nix
|
||||
./sway.nix
|
||||
];
|
||||
|
||||
home.username = "shihaam";
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user