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