Fixed home-manager
This commit is contained in:
21
flake.nix
21
flake.nix
@@ -13,7 +13,12 @@
|
||||
|
||||
};
|
||||
outputs =
|
||||
inputs@{ self, nixpkgs, home-manager, ... }: {
|
||||
inputs@{ self, nixpkgs, home-manager, ... }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in
|
||||
{
|
||||
nixosConfigurations = {
|
||||
/* nixos-test = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
@@ -53,15 +58,15 @@
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
homeConfigurations.panotaka = home-manager.lib.homeManagerConfiguration
|
||||
{
|
||||
homeDirectory = "/home/panotaka";
|
||||
configuration = { pkgs, ... }: {
|
||||
imports = [
|
||||
./home
|
||||
./home/shell
|
||||
];
|
||||
};
|
||||
inherit pkgs;
|
||||
|
||||
modules = [
|
||||
./home
|
||||
./home/shell
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user