mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 16:57:55 +00:00
29 lines
482 B
Nix
29 lines
482 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;
|
|
};
|
|
}
|