From 9023f77433dcaa24792ceb965109bc627f94c919 Mon Sep 17 00:00:00 2001 From: ant Date: Tue, 31 Dec 2024 14:34:07 +0100 Subject: [PATCH] use a non-commited config.nix to specify the username & variant --- flake.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/flake.nix b/flake.nix index cb1d3ba..55af0a4 100644 --- a/flake.nix +++ b/flake.nix @@ -20,16 +20,14 @@ pkgs-unstable = pkgs; nixgl = inputs.nixgl.packages.${system}; - username = "anvaure"; - variant = "allegro"; + config = import ./config.nix; in { - homeConfigurations.${username} = inputs.home-manager.lib.homeManagerConfiguration { + homeConfigurations.${config.username} = inputs.home-manager.lib.homeManagerConfiguration { inherit pkgs; extraSpecialArgs = { inherit pkgs-unstable; - inherit variant; - inherit username; + inherit (config) username variant; inherit nixgl; };