diff --git a/modules/bat/testbeds/bat.nix b/modules/bat/testbeds/bat.nix index 79f5446f..b7b0f17f 100644 --- a/modules/bat/testbeds/bat.nix +++ b/modules/bat/testbeds/bat.nix @@ -4,17 +4,7 @@ let in { environment = { - loginShellInit = "${lib.getExe package} example.md"; + loginShellInit = "${lib.getExe package} flake-parts/flake.nix"; systemPackages = [ package ]; }; - home-manager.sharedModules = [ - { - home.file."example.md" = { - source = pkgs.fetchurl { - url = "https://raw.githubusercontent.com/sharkdp/bat/refs/heads/master/tests/syntax-tests/source/Markdown/example.md"; - hash = "sha256-VYYwgRFY1c2DPY7yGM8oF3zG4rtEpBWyqfPwmGZIkcA="; - }; - }; - } - ]; } diff --git a/modules/micro/testbeds/micro.nix b/modules/micro/testbeds/micro.nix index 7f5ad445..5a722290 100644 --- a/modules/micro/testbeds/micro.nix +++ b/modules/micro/testbeds/micro.nix @@ -1,17 +1,11 @@ { lib, pkgs, ... }: { stylix.testbed.ui.command = { - text = "${lib.getExe pkgs.micro} example.md"; + text = "${lib.getExe pkgs.micro} flake-parts/flake.nix"; useTerminal = true; }; home-manager.sharedModules = lib.singleton { programs.micro.enable = true; - home.file."example.md" = { - source = pkgs.fetchurl { - url = "https://raw.githubusercontent.com/sharkdp/bat/e2aa4bc33cca785cab8bdadffc58a4a30b245854/tests/syntax-tests/source/Markdown/example.md"; - hash = "sha256-VYYwgRFY1c2DPY7yGM8oF3zG4rtEpBWyqfPwmGZIkcA="; - }; - }; }; } diff --git a/modules/neovim/testbeds/neovim.nix b/modules/neovim/testbeds/neovim.nix index cd741d5f..823f1db7 100644 --- a/modules/neovim/testbeds/neovim.nix +++ b/modules/neovim/testbeds/neovim.nix @@ -1,17 +1,11 @@ -{ lib, pkgs, ... }: +{ lib, ... }: { stylix.testbed.ui.command = { - text = "nvim example.md"; + text = "nvim flake-parts/flake.nix"; useTerminal = true; }; home-manager.sharedModules = lib.singleton { programs.neovim.enable = true; - home.file."example.md" = { - source = pkgs.fetchurl { - url = "https://raw.githubusercontent.com/sharkdp/bat/e2aa4bc33cca785cab8bdadffc58a4a30b245854/tests/syntax-tests/source/Markdown/example.md"; - hash = "sha256-VYYwgRFY1c2DPY7yGM8oF3zG4rtEpBWyqfPwmGZIkcA="; - }; - }; }; } diff --git a/modules/neovim/testbeds/nixvim.nix b/modules/neovim/testbeds/nixvim.nix index 9294bb02..adc2364a 100644 --- a/modules/neovim/testbeds/nixvim.nix +++ b/modules/neovim/testbeds/nixvim.nix @@ -1,18 +1,8 @@ -{ lib, pkgs, ... }: { stylix.testbed.ui.command = { - text = "nvim example.md"; + text = "nvim flake-parts/flake.nix"; useTerminal = true; }; programs.nixvim.enable = true; - - home-manager.sharedModules = lib.singleton { - home.file."example.md" = { - source = pkgs.fetchurl { - url = "https://raw.githubusercontent.com/sharkdp/bat/refs/heads/master/tests/syntax-tests/source/Markdown/example.md"; - hash = "sha256-VYYwgRFY1c2DPY7yGM8oF3zG4rtEpBWyqfPwmGZIkcA="; - }; - }; - }; } diff --git a/modules/neovim/testbeds/nvf.nix b/modules/neovim/testbeds/nvf.nix index 5e6b6efc..9bfd5e74 100644 --- a/modules/neovim/testbeds/nvf.nix +++ b/modules/neovim/testbeds/nvf.nix @@ -1,18 +1,8 @@ -{ lib, pkgs, ... }: { stylix.testbed.ui.command = { - text = "nvim example.md"; + text = "nvim flake-parts/flake.nix"; useTerminal = true; }; programs.nvf.enable = true; - - home-manager.sharedModules = lib.singleton { - home.file."example.md" = { - source = pkgs.fetchurl { - url = "https://raw.githubusercontent.com/sharkdp/bat/refs/heads/master/tests/syntax-tests/source/Markdown/example.md"; - hash = "sha256-VYYwgRFY1c2DPY7yGM8oF3zG4rtEpBWyqfPwmGZIkcA="; - }; - }; - }; } diff --git a/modules/neovim/testbeds/vim.nix b/modules/neovim/testbeds/vim.nix index 745b218b..3bc44930 100644 --- a/modules/neovim/testbeds/vim.nix +++ b/modules/neovim/testbeds/vim.nix @@ -1,17 +1,11 @@ { lib, pkgs, ... }: { stylix.testbed.ui.command = { - text = "${lib.getExe pkgs.vim} example.md"; + text = "${lib.getExe pkgs.vim} flake-parts/flake.nix"; useTerminal = true; }; home-manager.sharedModules = lib.singleton { programs.vim.enable = true; - home.file."example.md" = { - source = pkgs.fetchurl { - url = "https://raw.githubusercontent.com/sharkdp/bat/e2aa4bc33cca785cab8bdadffc58a4a30b245854/tests/syntax-tests/source/Markdown/example.md"; - hash = "sha256-VYYwgRFY1c2DPY7yGM8oF3zG4rtEpBWyqfPwmGZIkcA="; - }; - }; }; } diff --git a/modules/zed/testbeds/zed.nix b/modules/zed/testbeds/zed.nix index 37ee282c..6a31fd14 100644 --- a/modules/zed/testbeds/zed.nix +++ b/modules/zed/testbeds/zed.nix @@ -1,16 +1,10 @@ { lib, pkgs, ... }: { stylix.testbed.ui.command = { - text = "${lib.getExe pkgs.zed-editor} example.md"; + text = "${lib.getExe pkgs.zed-editor} flake-parts/flake.nix"; }; home-manager.sharedModules = lib.singleton { programs.zed-editor.enable = true; - home.file."example.md" = { - source = pkgs.fetchurl { - url = "https://raw.githubusercontent.com/sharkdp/bat/e2aa4bc33cca785cab8bdadffc58a4a30b245854/tests/syntax-tests/source/Rust/output.rs"; - hash = "sha256-vpUndD6H1oJfYVDai4LpVpsW6SSGbK466t3IKENZ1ow="; - }; - }; }; }