Fixed home-manager
This commit is contained in:
21
flake.nix
21
flake.nix
@@ -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
|
||||||
];
|
];
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user