Make a module instead
This commit is contained in:
parent
d7a279a2f2
commit
45161926a6
12
flake.nix
12
flake.nix
|
@ -24,14 +24,10 @@
|
||||||
(import ./module.nix { inherit doom-emacs niten-doom-config; })
|
(import ./module.nix { inherit doom-emacs niten-doom-config; })
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
mkHomeManagerConfiguration = { username, user-email, home-dir, enable-gui, pkgs, ... }:
|
mkModule = { username, user-email, home-dir, enable-gui, pkgs, ... }:
|
||||||
home-manager.lib.homeManagerConfiguration {
|
import ./niten.nix {
|
||||||
inherit pkgs;
|
inherit username user-email home-dir enable-gui doom-emacs niten-doom-config;
|
||||||
modules = [
|
|
||||||
(import ./niten.nix {
|
|
||||||
inherit username user-email home-dir enable-gui doom-emacs niten-doom-config;
|
|
||||||
})
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue