fork/home-manager

git clone https://git.julia.blue/fork/home-manager

Lars Mühmelfiles: allow disabling creation of a file7efca2ca

master
190 B14 linesraw
1{ ... }:
2
3{
4  home.file."disabled" = {
5    enable = false;
6    text = ''
7      This file should not exist
8    '';
9  };
10
11  nmt.script = ''
12    assertPathNotExists home-files/disabled
13  '';
14}