mirror of
https://github.com/nix-community/home-manager
synced 2024-11-30 23:19:47 +01:00
15ae861e1b
Swaynag is a replacement of i3-nag for sway. Swaynag is embedded in Sway's build process albeit it is not an integral part of Sway, therefore it has been added under `wayland.windowManager.sway` instead of `programs`. It can be moved at a later time if necessary. Two unit tests were added validate the module behavior for an empty configuration and the example configuration.
15 lines
227 B
Nix
15 lines
227 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
config = {
|
|
wayland.windowManager.sway.swaynag = {
|
|
enable = true;
|
|
|
|
settings = { };
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertPathNotExists home-files/.config/swaynag
|
|
'';
|
|
};
|
|
}
|