fork/home-manager

git clone https://git.julia.blue/fork/home-manager

Rodney Lorrimari18n: Use glibcLocales from NixOS if possible (#2333) (#4177)3be2abb2

master
609 B24 linesraw
1{ config, pkgs, ... }:
2
3{
4  systemd.user.sessionVariables = {
5    V_int = 1;
6    V_str = "2";
7  };
8
9  nmt.script = ''
10    envFile=home-files/.config/environment.d/10-home-manager.conf
11    assertFileExists $envFile
12    assertFileContent $envFile ${
13      pkgs.writeText "expected" ''
14        LOCALE_ARCHIVE_2_27=${config.i18n.glibcLocales}/lib/locale/locale-archive
15        V_int=1
16        V_str=2
17        XDG_CACHE_HOME=/home/hm-user/.cache
18        XDG_CONFIG_HOME=/home/hm-user/.config
19        XDG_DATA_HOME=/home/hm-user/.local/share
20        XDG_STATE_HOME=/home/hm-user/.local/state
21      ''
22    }
23  '';
24}