1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-05 10:49:44 +01:00
home-manager/tests/modules/services/window-managers/i3/i3-null-config.nix
Basti 80b4360678
i3/sway: improve i3.nix to handle options as list like in sway, adjusted functions for less new-lines (#2314)
* i3/sway: Improve code to generate config to avoid new-line issues on code/config changes

* Maintainer: Add SebTM as maintainer
2022-03-21 16:52:57 -06:00

16 lines
307 B
Nix

{ config, lib, pkgs, ... }:
{
imports = [ ./i3-stubs.nix ];
xsession.windowManager.i3 = {
enable = true;
config = null;
};
nmt.script = ''
assertFileExists home-files/.config/i3/config
assertFileContent home-files/.config/i3/config \
${pkgs.writeText "expected" ""}
'';
}