This commit is contained in:
2024-09-18 10:35:06 -04:00
parent 70d1bb98f7
commit d4fef2c256
8 changed files with 32 additions and 38 deletions

View File

@@ -67,15 +67,15 @@
...
}@inputs:
let
system = "x86_64-linux";
username = "primary";
homeDirectory = "/home/${username}";
hostname = nixpkgs.lib.strings.removeSuffix "\n" (builtins.readFile /etc/hostname);
pkgs = import nixpkgs { };
in
{
homeConfigurations.${username} = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.${system};
inherit pkgs;
extraSpecialArgs = {
inherit inputs username homeDirectory;
};