mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 01:18:30 +09:00
feat(hosts): add userName to specialArgs, wire hardware-configuration
This commit is contained in:
+5
-2
@@ -7,6 +7,8 @@
|
||||
let
|
||||
inherit (inputs.nixpkgs.lib) nixosSystem;
|
||||
|
||||
userName = "moons";
|
||||
|
||||
mkSystem =
|
||||
{
|
||||
host,
|
||||
@@ -19,11 +21,12 @@ let
|
||||
nixosSystem {
|
||||
inherit system;
|
||||
modules = [
|
||||
./${host}/hardware-configuration.nix
|
||||
../profiles/${profile}.nix
|
||||
../hosts/${host}/default.nix
|
||||
./${host}/default.nix
|
||||
]
|
||||
++ extraModules;
|
||||
specialArgs = { inherit inputs; };
|
||||
specialArgs = { inherit inputs userName; };
|
||||
};
|
||||
in
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user