meta: Capitalize variables

This should make it easier to identify and search for variables.
This commit is contained in:
Donovan Glover 2023-06-05 18:48:55 -04:00
parent aef8eaa16a
commit 24756ad683
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 5 additions and 5 deletions

View File

@ -32,10 +32,10 @@
};
outputs = { self, nixpkgs, home-manager, hyprland, stylix, nix-gaming, ... }@attrs: let
variables = import ./variables.nix;
VARIABLES = import ./variables.nix;
in {
nixosConfigurations."${variables.hostname}" = nixpkgs.lib.nixosSystem {
system = variables.system;
nixosConfigurations."${VARIABLES.HOSTNAME}" = nixpkgs.lib.nixosSystem {
system = VARIABLES.SYSTEM;
specialArgs = attrs;
modules = [
home-manager.nixosModules.home-manager

View File

@ -1,4 +1,4 @@
{
hostname = "nixos";
system = "x86_64-linux";
HOSTNAME = "nixos";
SYSTEM = "x86_64-linux";
}