refactor: hostName variable in flake.nix
This commit is contained in:
@@ -35,11 +35,15 @@
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
hostName = "january";
|
||||
in
|
||||
{
|
||||
nixosConfigurations."nixos" = inputs.nixpkgs.lib.nixosSystem {
|
||||
nixosConfigurations.${hostName} = inputs.nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
inherit pkgs;
|
||||
specialArgs = {
|
||||
inherit hostName;
|
||||
};
|
||||
modules = [
|
||||
./nixos/configuration.nix
|
||||
|
||||
|
||||
Reference in New Issue
Block a user