diff --git a/hosts/common/nix.nix b/hosts/common/nix.nix index 6ce92f04..7e663046 100644 --- a/hosts/common/nix.nix +++ b/hosts/common/nix.nix @@ -1,9 +1,10 @@ { config, + lib, pkgs, ... }: { - environment.variables.FLAKE = "github:alyraffauf/nixcfg"; + environment.variables.FLAKE = lib.mkDefault "github:alyraffauf/nixcfg"; nix.settings = { substituters = [ diff --git a/hosts/fallarbor/default.nix b/hosts/fallarbor/default.nix index fc239604..6b12ea6c 100644 --- a/hosts/fallarbor/default.nix +++ b/hosts/fallarbor/default.nix @@ -18,7 +18,11 @@ systemd-boot.enable = true; }; - environment.variables.GDK_SCALE = "1.5"; + environment.variables = { + FLAKE = "https://flakehub.com/f/alyraffauf/nixcfg/*.tar.gz"; + GDK_SCALE = "1.5"; + }; + networking.hostName = "fallarbor"; system.stateVersion = "24.05"; diff --git a/hosts/rustboro/default.nix b/hosts/rustboro/default.nix index 62b55c13..ac53eb62 100644 --- a/hosts/rustboro/default.nix +++ b/hosts/rustboro/default.nix @@ -18,7 +18,11 @@ systemd-boot.enable = true; }; - environment.variables.GDK_SCALE = "1.25"; + environment.variables = { + FLAKE = "https://flakehub.com/f/alyraffauf/nixcfg/*.tar.gz"; + GDK_SCALE = "1.25"; + }; + networking.hostName = "rustboro"; system.stateVersion = "24.05"; zramSwap.memoryPercent = 100;