fix: Remove obsolete inputs, use more standard naming

from `home-managerModule` to `homeManagerModules.default`
This commit is contained in:
Jiří Štefka 2024-10-18 14:49:12 +02:00
parent 8248b8c658
commit 11d39e91b4
Signed by: jiriks74
GPG key ID: 1D5E30D3DB2264DE
3 changed files with 189 additions and 204 deletions

View file

@ -27,7 +27,7 @@ A [`home-manager`]() flake containing my [`zsh`]() config.
extraSpecialArgs = {inherit inputs outputs;};
modules = [
...
zsh-config.home-managerModule
inputs.zsh-config.homeManagerModules.default
...
];
};

View file

@ -1,21 +1,5 @@
{
"nodes": {
"fast-syntax-highlighting": {
"flake": false,
"locked": {
"lastModified": 1702802089,
"narHash": "sha256-AEeGEx2vyyHVS92Nla7XoqSx3rTpQHYwPMrK1jFH1Mg=",
"owner": "z-shell",
"repo": "F-Sy-H",
"rev": "3dea11a9018061e6e3a77e529b79e5654679d3a0",
"type": "github"
},
"original": {
"owner": "z-shell",
"repo": "F-Sy-H",
"type": "github"
}
},
"flake-utils": {
"inputs": {
"systems": "systems"
@ -52,7 +36,6 @@
},
"root": {
"inputs": {
"fast-syntax-highlighting": "fast-syntax-highlighting",
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
}

View file

@ -13,7 +13,8 @@
...
} @ inputs:
{
home-managerModule = { config, lib, pkgs, ... }: {
homeManagerModules = {
default = { config, lib, pkgs, ... }: {
home.packages = with pkgs;[
nix-zsh-completions
@ -229,4 +230,5 @@
};
};
};
};
}