forked from extern/nix-config
meta: Only capitalize variables part
This should make creating and using variables less annoying.
This commit is contained in:
parent
24756ad683
commit
56c20d9d8e
@ -34,8 +34,8 @@
|
||||
outputs = { self, nixpkgs, home-manager, hyprland, stylix, nix-gaming, ... }@attrs: let
|
||||
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