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
|
outputs = { self, nixpkgs, home-manager, hyprland, stylix, nix-gaming, ... }@attrs: let
|
||||||
variables = import ./variables.nix;
|
VARIABLES = import ./variables.nix;
|
||||||
in {
|
in {
|
||||||
nixosConfigurations."${variables.hostname}" = nixpkgs.lib.nixosSystem {
|
nixosConfigurations."${VARIABLES.HOSTNAME}" = nixpkgs.lib.nixosSystem {
|
||||||
system = variables.system;
|
system = VARIABLES.SYSTEM;
|
||||||
specialArgs = attrs;
|
specialArgs = attrs;
|
||||||
modules = [
|
modules = [
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
hostname = "nixos";
|
HOSTNAME = "nixos";
|
||||||
system = "x86_64-linux";
|
SYSTEM = "x86_64-linux";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user