fix(wsl2): inherits, import paths, unfree packages

This commit is contained in:
Oliver Davies 2023-08-08 13:43:44 +01:00
parent eac470013b
commit 482a74a5e0

View file

@ -1,14 +1,24 @@
{ inputs, username }: { inputs, username }:
inputs.home-manager.lib.homeManagerConfiguration { inputs.home-manager.lib.homeManagerConfiguration {
extraSpecialArgs = { inherit inputs; };
modules = [ modules = [
{
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (inputs.nixpkgs.lib.getName pkg) [
"intelephense"
"postman"
"tabnine"
];
}
{ {
imports = [ imports = [
../home-manager/modules/common.nix ../../home-manager/modules/common.nix
../home-manager/modules/git.nix ../../home-manager/modules/git.nix
../home-manager/modules/home-manager.nix ../../home-manager/modules/home-manager.nix
../home-manager/modules/tmux.nix ../../home-manager/modules/tmux.nix
../home-manager/modules/zsh.nix ../../home-manager/modules/zsh.nix
]; ];
} }
]; ];