nix: sync dev environments across machines

Maybe refactor this out ?
This commit is contained in:
Léana 江 2024-01-22 19:38:08 +01:00 committed by Léana 江
parent bbe152d652
commit 99fd476ba4
3 changed files with 62 additions and 72 deletions

View file

@ -79,15 +79,11 @@
system,
hostname,
}: let
args = argsFor {inherit system;};
pkgs = args.pkgs;
unstable = args.unstable;
args = (argsFor {inherit system;}) // (extraArgsFor {inherit system hostname;});
in
home-manager.lib.homeManagerConfiguration {
pkgs = pkgs;
extraSpecialArgs = {
inherit unstable system;
};
pkgs = args.pkgs;
extraSpecialArgs = args;
modules = [(./home/leana + "@${hostname}")];
};
in {