storing my user in my host config is just dumb

Signed-off-by: Alex Stan <stan.alexandru@ichb.ro>
This commit is contained in:
Alex Stan 2023-04-30 15:05:07 +03:00
parent f50d6a056c
commit f9c94b283f
2 changed files with 1 additions and 1 deletions

View file

@ -29,7 +29,7 @@
pkgs = nixpkgs.legacyPackages.x86_64-linux; pkgs = nixpkgs.legacyPackages.x86_64-linux;
extraSpecialArgs = { inherit inputs; }; extraSpecialArgs = { inherit inputs; };
modules = [ modules = [
./ultrapc/home.nix ./users/ultra/home.nix
(args: { # https://ayats.org/blog/channels-to-flakes (args: { # https://ayats.org/blog/channels-to-flakes
xdg.configFile."nix/inputs/nixpkgs".source = nixpkgs.outPath; xdg.configFile."nix/inputs/nixpkgs".source = nixpkgs.outPath;
home.sessionVariables.NIX_PATH = "nixpkgs=${args.config.xdg.configHome}/nix/inputs/nixpkgs$\{NIX_PATH:+:$NIX_PATH}"; home.sessionVariables.NIX_PATH = "nixpkgs=${args.config.xdg.configHome}/nix/inputs/nixpkgs$\{NIX_PATH:+:$NIX_PATH}";