programs.foot: Always create config file (#2091)
foot complains if there is no config file.
This commit is contained in:
parent
42847469b3
commit
666eee4f72
3 changed files with 9 additions and 3 deletions
|
|
@ -10,7 +10,10 @@ with lib;
|
|||
[ (self: super: { foot = pkgs.writeScriptBin "dummy-foot" ""; }) ];
|
||||
|
||||
nmt.script = ''
|
||||
assertPathNotExists home-files/.config/foot
|
||||
assertFileExists home-files/.config/foot/foot.ini
|
||||
assertFileContent \
|
||||
home-files/.config/foot/foot.ini \
|
||||
${builtins.toFile "test" ""}
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,7 +11,10 @@ in {
|
|||
};
|
||||
|
||||
nmt.script = ''
|
||||
assertPathNotExists home-files/.config/foot/foot.ini
|
||||
assertFileExists home-files/.config/foot/foot.ini
|
||||
assertFileContent \
|
||||
home-files/.config/foot/foot.ini \
|
||||
${builtins.toFile "test" ""}
|
||||
|
||||
assertFileContent \
|
||||
home-files/.config/systemd/user/foot.service \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue