mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-14 12:23:58 +01:00
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