cfcd52ff70
GitOrigin-RevId: 70c5b268e10025c70823767f4fb49e240b40151d
18 lines
321 B
Nix
18 lines
321 B
Nix
{ pkgs, ... }:
|
|
|
|
let
|
|
inherit (pkgs.stdenv.hostPlatform) isDarwin;
|
|
|
|
path = if isDarwin then
|
|
"Library/Application Support/rbw/config.json"
|
|
else
|
|
".config/rbw/config.json";
|
|
in {
|
|
imports = [ ./rbw-stubs.nix ];
|
|
|
|
programs.rbw.enable = true;
|
|
|
|
nmt.script = ''
|
|
assertPathNotExists home-files/${path}
|
|
'';
|
|
}
|