Fix flake and default configurations FLAKE path
This commit is contained in:
parent
7bcdbf969b
commit
6cd77831b3
3 changed files with 4 additions and 4 deletions
|
@ -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";
|
||||||
|
|
|
@ -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 ##
|
||||||
|
|
|
@ -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; }
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue