mirror of
https://github.com/nix-community/home-manager
synced 2024-11-30 15:09:46 +01:00
d06bcf4c97
PR #797
23 lines
476 B
Nix
23 lines
476 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
config = {
|
|
home.homeDirectory = "/homeless-shelter";
|
|
|
|
targets.genericLinux.enable = true;
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-path/etc/profile.d/hm-session-vars.sh
|
|
assertFileContent \
|
|
home-path/etc/profile.d/hm-session-vars.sh \
|
|
${
|
|
pkgs.substituteAll {
|
|
src = ./generic-linux-session-vars-expected.txt;
|
|
nix = pkgs.nix;
|
|
}
|
|
}
|
|
'';
|
|
};
|
|
}
|