mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-13 06:19:01 +00:00
24 lines
470 B
Nix
24 lines
470 B
Nix
{ pkgs, lib, self }:
|
|
|
|
let
|
|
nixvimConfig = {
|
|
plugins.lightline.enable = true;
|
|
|
|
plugins.neorg.enable = true;
|
|
};
|
|
|
|
nixosConfig = { programs.firefox.enable = true; };
|
|
|
|
nixvimConfig' = { inherit nixosConfig; } // nixvimConfig;
|
|
in lib.runTests {
|
|
testNixvimIsStandalone = {
|
|
expr = self.nixvim.isStandalone nixvimConfig;
|
|
expected = true;
|
|
};
|
|
|
|
testNixvimIsStandalone2 = {
|
|
expr = self.nixvim.isStandalone nixvimConfig';
|
|
expected = false;
|
|
};
|
|
}
|