forked from extern/nix-config
meta: Capitalize variables
This should make it easier to identify and search for variables.
This commit is contained in:
parent
aef8eaa16a
commit
24756ad683
@ -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
|
||||
|
@ -1,4 +1,4 @@
|
||||
{
|
||||
hostname = "nixos";
|
||||
system = "x86_64-linux";
|
||||
HOSTNAME = "nixos";
|
||||
SYSTEM = "x86_64-linux";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user