refactor: revert username global var

This commit is contained in:
Mohammad Rafiq 2025-03-27 02:49:54 +08:00
parent d5b4b54403
commit 16f28bf227
No known key found for this signature in database
11 changed files with 66 additions and 35 deletions

View file

@ -5,7 +5,6 @@
...
}@inputs:
let
username = "rafiq";
mkSystem = type: hostname: {
name = "${hostname}";
value =
@ -16,13 +15,16 @@
inputs
type
hostname
username
;
};
in
inputs.nixpkgs.lib.nixosSystem {
specialArgs = args;
modules = [ ./systems ];
modules = [
./systems
inputs.home-manager.nixosModules.home-manager
inputs.sops-nix.nixosModules.sops
];
};
};
in