diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-10-30 15:15:04 +0100 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-10-30 15:15:04 +0100 |
| commit | 43dac390967e2e85da0b3fcd84043a77cfaddfd0 (patch) | |
| tree | 93f09b804bcded8b59db6f619e18ec4b6265b8c2 /tests/old/by-name/nv/nvim-neorg/test.nix | |
| parent | treewide: Align files with the same files in the `nixos-server` repo (diff) | |
| download | nixos-config-43dac390967e2e85da0b3fcd84043a77cfaddfd0.zip | |
treewide: Align the rest of the files with the server repository
Diffstat (limited to 'tests/old/by-name/nv/nvim-neorg/test.nix')
| -rw-r--r-- | tests/old/by-name/nv/nvim-neorg/test.nix | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/tests/old/by-name/nv/nvim-neorg/test.nix b/tests/old/by-name/nv/nvim-neorg/test.nix new file mode 100644 index 00000000..9f160df5 --- /dev/null +++ b/tests/old/by-name/nv/nvim-neorg/test.nix @@ -0,0 +1,55 @@ +# nixos-config - My current NixOS configuration +# +# Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de> +# SPDX-License-Identifier: GPL-3.0-or-later +# +# This file is part of my nixos-config. +# +# You should have received a copy of the License along with this program. +# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>. +{ + mkTest, + extraModules, + pkgs, + ... +}: +mkTest { + name = "nvim-neorg"; + + configuration = { + imports = [ + ../../../../modules/by-name/nv/nvim/module.nix + ../../../../modules/by-name/ni/nixpkgs/module.nix + ]; + config = { + soispha = { + nixpkgs = { + enable = true; + systemName = "x86_64-linux"; + }; + programs.nvim = { + enable = true; + shell = pkgs.zsh; + }; + }; + home-manager.users.soispha = { + imports = [ + extraModules.nixvim.homeManagerModule + ]; + }; + }; + }; + + alternateScreen = false; + + testData = { + "/home/soispha/repos/notes/general/index.norg" = ./data/index.norg; + "/home/soispha/repos/notes/general/reference.norg" = ./data/reference.norg; + }; + + description = ./test.desc; + + # The golden file is just full of nvim's terminal control sequences. There is no point + # in trying to check it. + hash = null; +} |
