From 0c0d455a6a1676693cb640fb5177d8092000039a Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Thu, 22 Jun 2023 08:37:34 -0400 Subject: [PATCH] flake.nix: Remove variables This configuration is specifically intended for x86_64-linux and likely wouldn't work on aarch64-linux. Additionally, the configuration name may be different than the hostname if desired. --- flake.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/flake.nix b/flake.nix index 5f4133c5..acf71f8f 100644 --- a/flake.nix +++ b/flake.nix @@ -22,13 +22,11 @@ }; }; - outputs = { self, nixpkgs, ... } @ attrs: let VARIABLES = import ./src/variables.nix; in { - nixosConfigurations."${VARIABLES.hostname}" = nixpkgs.lib.nixosSystem { - system = VARIABLES.system; + outputs = { self, nixpkgs, ... } @ attrs: { + nixosConfigurations.nixos = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; specialArgs = attrs; - modules = [ - ./. - ]; + modules = [ ./. ]; }; }; }