mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
nix: move specialArgs into per-host file
This commit is contained in:
parent
6dd61d3a1d
commit
85753e946e
2 changed files with 10 additions and 3 deletions
|
|
@ -12,6 +12,11 @@ in
|
|||
...
|
||||
}: {
|
||||
imports = [
|
||||
#
|
||||
# hostname
|
||||
#
|
||||
{_module.args = {inherit hostname;};}
|
||||
|
||||
#
|
||||
# nixpkgs
|
||||
#
|
||||
|
|
@ -65,9 +70,13 @@ in
|
|||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
extraSpecialArgs.hostname = hostname;
|
||||
sharedModules = [{home.stateVersion = lib.mkDefault config.system.stateVersion;}];
|
||||
users.leana.imports = [
|
||||
#
|
||||
# hostname
|
||||
#
|
||||
{_module.args = {inherit hostname;};}
|
||||
|
||||
./vanadium/home
|
||||
|
||||
../homeModules/common/btop
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue