summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authornzbr <mail@nzbr.de>2023-01-31 04:24:08 +0100
committernzbr <mail@nzbr.de>2023-01-31 04:24:08 +0100
commit2816836c6655210c28051c93bb915c61c820164a (patch)
tree070774407b7420e56c7b8e43ac021d4cda67ae67 /tests
parentb086eae32d580878e8c94f6a68976240421a4bd1 (diff)
use release version of home-manager instead of master
Diffstat (limited to 'tests')
-rw-r--r--tests/login-shell/session-variables.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/login-shell/session-variables.nix b/tests/login-shell/session-variables.nix
index 837d09d..bba0185 100644
--- a/tests/login-shell/session-variables.nix
+++ b/tests/login-shell/session-variables.nix
@@ -1,13 +1,13 @@
-{ pkgs, lib, ... }:
+{ config, pkgs, lib, ... }:
{
imports = [
./base.nix
- "${builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/master.tar.gz"}/nixos"
+ "${builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/release-${config.system.nixos.version}.tar.gz"}/nixos"
];
home-manager.users.nixos = { ... }: {
home = {
- stateVersion = "22.11";
+ stateVersion = config.system.nixos.version;
packages = [ pkgs.vim ];
sessionVariables = {
EDITOR = "vim";