mirror of
https://github.com/nix-community/home-manager
synced 2024-12-26 03:39:47 +01:00
ff616b2734
Foot is a fast terminal emulator for Wayland. It can optionally be run in a client-server configuration. There are three unit tests to handle an empty configuration, the default configuration, and systemd service file generation.
21 lines
461 B
Nix
21 lines
461 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
let
|
|
package = pkgs.writeShellScriptBin "dummy-foot" "" // { outPath = "@foot@"; };
|
|
in {
|
|
config = {
|
|
programs.foot = {
|
|
inherit package;
|
|
enable = true;
|
|
server.enable = true;
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertPathNotExists home-files/.config/foot/foot.ini
|
|
|
|
assertFileContent \
|
|
home-files/.config/systemd/user/foot.service \
|
|
${./systemd-user-service-expected.service}
|
|
'';
|
|
};
|
|
}
|