1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00
home-manager/tests/modules/services/spectrwm/spectrwm-simple-config.nix
Austin Horstman 06c1392ca8 tests: implement auto importing for modules
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-06-22 23:58:37 -05:00

23 lines
506 B
Nix

{
xsession.windowManager.spectrwm = {
enable = true;
settings = {
bar_enabled = true;
bar_format = "+S [+R:+I] %a %b %d [%R]";
bar_justify = "center";
modkey = "Mod4";
};
programs = {
term = "alacritty";
};
bindings = {
term = "MOD+Shift+Return";
};
unbindings = [ "MOD+Return" ];
};
nmt.script = ''
assertFileContent \
home-files/.config/spectrwm/spectrwm.conf ${./spectrwm-simple-config-expected-spectrwm.conf}
'';
}