1
0
forked from extern/nix-config

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.
This commit is contained in:
Donovan Glover 2023-06-22 08:37:34 -04:00
parent 3a6cd7e60d
commit 0c0d455a6a
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -22,13 +22,11 @@
}; };
}; };
outputs = { self, nixpkgs, ... } @ attrs: let VARIABLES = import ./src/variables.nix; in { outputs = { self, nixpkgs, ... } @ attrs: {
nixosConfigurations."${VARIABLES.hostname}" = nixpkgs.lib.nixosSystem { nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
system = VARIABLES.system; system = "x86_64-linux";
specialArgs = attrs; specialArgs = attrs;
modules = [ modules = [ ./. ];
./.
];
}; };
}; };
} }