fork/home-manager

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

Robert Helgessontests: add option `test.stubs`cb09a968

master
321 B18 linesraw
1{ pkgs, ... }:
2
3let
4  inherit (pkgs.stdenv.hostPlatform) isDarwin;
5
6  path = if isDarwin then
7    "Library/Application Support/rbw/config.json"
8  else
9    ".config/rbw/config.json";
10in {
11  imports = [ ./rbw-stubs.nix ];
12
13  programs.rbw.enable = true;
14
15  nmt.script = ''
16    assertPathNotExists home-files/${path}
17  '';
18}