use a non-commited config.nix to specify the username & variant

This commit is contained in:
ant 2024-12-31 14:34:07 +01:00
parent 4b88d9387f
commit 9023f77433

View file

@ -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;
};