mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
nix: sync dev environments across machines
Maybe refactor this out ?
This commit is contained in:
parent
bbe152d652
commit
99fd476ba4
3 changed files with 62 additions and 72 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue