Fixed home-manager

This commit is contained in:
panotaka
2023-11-25 22:47:06 -04:00
parent a57617c4d2
commit c9f5b94487

View File

@@ -13,7 +13,12 @@
}; };
outputs = outputs =
inputs@{ self, nixpkgs, home-manager, ... }: { inputs@{ self, nixpkgs, home-manager, ... }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in
{
nixosConfigurations = { nixosConfigurations = {
/* nixos-test = nixpkgs.lib.nixosSystem { /* nixos-test = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
@@ -53,15 +58,15 @@
}; };
}; };
homeConfigurations.panotaka = home-manager.lib.homeManagerConfiguration homeConfigurations.panotaka = home-manager.lib.homeManagerConfiguration
{ {
homeDirectory = "/home/panotaka"; inherit pkgs;
configuration = { pkgs, ... }: {
imports = [ modules = [
./home ./home
./home/shell ./home/shell
]; ];
}; };
}; };
};
} }