mirror of
https://github.com/nix-community/home-manager
synced 2024-11-14 15:19:45 +01:00
21 lines
434 B
Nix
21 lines
434 B
Nix
|
{ config, lib, ... }:
|
||
|
|
||
|
with lib;
|
||
|
|
||
|
{
|
||
|
config = {
|
||
|
home.file."source with spaces!".source = ./. + "/source with spaces!";
|
||
|
|
||
|
nmt.script = ''
|
||
|
assertFileExists 'home-files/source with spaces!';
|
||
|
assertFileContent 'home-files/source with spaces!' \
|
||
|
${
|
||
|
builtins.path {
|
||
|
path = ./. + "/source with spaces!";
|
||
|
name = "source-with-spaces-expected";
|
||
|
}
|
||
|
}
|
||
|
'';
|
||
|
};
|
||
|
}
|