mirror of
https://github.com/nix-community/home-manager
synced 2024-12-18 07:49:48 +01:00
19 lines
407 B
Nix
19 lines
407 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
{
|
||
|
config = {
|
||
|
services.fnott = {
|
||
|
enable = true;
|
||
|
package = pkgs.writeScriptBin "dummy-foot" "" // { outPath = "@fnott@"; };
|
||
|
};
|
||
|
|
||
|
nmt.script = ''
|
||
|
assertPathNotExists home-files/.config/fnott/fnott.ini
|
||
|
|
||
|
assertFileContent \
|
||
|
home-files/.config/systemd/user/fnott.service \
|
||
|
${./systemd-user-service-expected.service}
|
||
|
'';
|
||
|
};
|
||
|
}
|