Fix flake and default configurations FLAKE path

This commit is contained in:
Chris Toph 2025-04-21 04:06:26 -04:00
parent cca85f737e
commit bdc52d2dbd
3 changed files with 4 additions and 4 deletions

View file

@ -43,7 +43,7 @@ in
]; ];
sessionVariables = { sessionVariables = {
EDITOR = "micro"; EDITOR = "micro";
FLAKE = "${homeDir}/git/dot.nix"; FLAKE = "${homeDir}/git/Nix/dot.nix";
MANPAGER = "batman"; # see ./cli/bat.nix MANPAGER = "batman"; # see ./cli/bat.nix
SHELL = "fish"; SHELL = "fish";
TERM = "foot"; TERM = "foot";

View file

@ -57,7 +57,7 @@
enable = true; enable = true;
clean.enable = true; clean.enable = true;
clean.extraArgs = "--keep-since 20d --keep 20"; clean.extraArgs = "--keep-since 20d --keep 20";
flake = "${config.hostSpec.home}/git/dot.nix/"; flake = "${config.hostSpec.home}/git/Nix/dot.nix/";
}; };
## SUDO and Terminal ## ## SUDO and Terminal ##

View file

@ -22,7 +22,7 @@
minimalSpecialArgs = { minimalSpecialArgs = {
inherit inputs outputs; inherit inputs outputs;
lib = nixpkgs.lib.extend ( lib = nixpkgs.lib.extend (
self: super: { custom = import /home/${username}/git/dot.nix/lib { inherit (nixpkgs) lib; }; } self: super: { custom = import /home/${username}/git/Nix/dot.nix/lib { inherit (nixpkgs) lib; }; }
); );
}; };
@ -34,7 +34,7 @@
specialArgs = minimalSpecialArgs; specialArgs = minimalSpecialArgs;
modules = [ modules = [
./minimal-configuration.nix ./minimal-configuration.nix
/home/${username}/git/dot.nix/hosts/nixos/${name}/hardware.nix /home/${username}/git/Nix/dot.nix/hosts/nixos/${name}/hardware.nix
{ networking.hostName = name; } { networking.hostName = name; }
]; ];
}); });