añade configuración necesaria para shenvs

This commit is contained in:
Fabián Montero 2022-03-29 00:00:36 -06:00
parent 9f72d24109
commit 4b9e6bb4ee
4 changed files with 26 additions and 7 deletions

View file

@ -1,8 +1,10 @@
# man page: https://rycee.gitlab.io/home-manager/options.html
{ nixpkgs }:
{ config, pkgs, lib, ... }: {
{ nixpkgs, self }:
{ config, pkgs, lib, ... }: with lib; {
nixpkgs.overlays = [ self.overlay ];
imports = [ ./steam ];
home = {
@ -14,6 +16,11 @@
"EDITOR" = "nvim";
"TERMINAL" = "kitty";
};
file = {
".shenvs".text = let
keeps = { gcKeep ? [] }: concatStringsSep "\n" (map toString gcKeep);
in keeps (import ../shenvs/config.nix pkgs.local.shenvs);
};
};
systemd.user.tmpfiles.rules = [