add(nix-index): add nix index database and integration
This commit is contained in:
parent
2d142e13eb
commit
5bdf976581
4 changed files with 39 additions and 2 deletions
21
flake.lock
generated
21
flake.lock
generated
|
|
@ -326,6 +326,26 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nix-index-database": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs-u"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1760241904,
|
||||
"narHash": "sha256-OD7QnaGEVNdukYEbJbUNWPsvnDrpbZOZxVIk6Pt9Jhw=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nix-index-database",
|
||||
"rev": "c9f5ea45f25652ec2f771f9426ccacb21cbbaeaa",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"repo": "nix-index-database",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nix-rice": {
|
||||
"inputs": {
|
||||
"flake-parts": "flake-parts_2",
|
||||
|
|
@ -527,6 +547,7 @@
|
|||
"git-hooks": "git-hooks",
|
||||
"home-manager": "home-manager",
|
||||
"home-manager-u": "home-manager-u",
|
||||
"nix-index-database": "nix-index-database",
|
||||
"nix-rice": "nix-rice",
|
||||
"nixos-generators": "nixos-generators",
|
||||
"nixos-hardware": "nixos-hardware",
|
||||
|
|
|
|||
18
flake.nix
18
flake.nix
|
|
@ -17,6 +17,9 @@
|
|||
nixos-generators = { url = "github:nix-community/nixos-generators"; inputs.nixpkgs.follows = "nixpkgs"; };
|
||||
nixos-hardware.url = "github:NixOS/nixos-hardware";
|
||||
|
||||
nix-index-database.url = "github:nix-community/nix-index-database";
|
||||
nix-index-database.inputs.nixpkgs.follows = "nixpkgs-u";
|
||||
|
||||
systems.url = "github:nix-systems/default";
|
||||
flake-parts.url = "github:hercules-ci/flake-parts";
|
||||
git-hooks = {
|
||||
|
|
@ -204,6 +207,7 @@
|
|||
mainModules = {
|
||||
imports = [
|
||||
self.nixosModules.commonModules
|
||||
inputs.nix-index-database.nixosModules.nix-index
|
||||
./nixos/pro_audio.nix
|
||||
./nixos/kdeconnect.nix
|
||||
./nixos/opentabletdriver.nix
|
||||
|
|
@ -255,7 +259,12 @@
|
|||
./nixos/steam.nix
|
||||
|
||||
self.nixosModules.bertof-rclone
|
||||
{ home-manager.users.bertof = import ./instances/thor/hm.nix; }
|
||||
{
|
||||
home-manager.users.bertof.imports = [
|
||||
inputs.nix-index-database.homeModules.nix-index
|
||||
./instances/thor/hm.nix
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
|
|
@ -273,7 +282,12 @@
|
|||
./nixos/ollama.nix
|
||||
./nixos/ollama-ui.nix
|
||||
|
||||
{ home-manager.users.bertof = import ./instances/sif/hm.nix; }
|
||||
{
|
||||
home-manager.users.bertof.imports = [
|
||||
inputs.nix-index-database.homeModules.nix-index
|
||||
./instances/sif/hm.nix
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -123,6 +123,7 @@
|
|||
../../hm/kitty.nix
|
||||
../../hm/libinput-gestures.nix
|
||||
../../hm/mpv.nix
|
||||
../../hm/nix-index.nix
|
||||
../../hm/noti.nix
|
||||
../../hm/nushell.nix
|
||||
../../hm/office.nix
|
||||
|
|
|
|||
|
|
@ -124,6 +124,7 @@
|
|||
../../hm/megasync.nix
|
||||
../../hm/mpv.nix
|
||||
# ../../hm/ncspot.nix
|
||||
../../hm/nix-index.nix
|
||||
../../hm/noti.nix
|
||||
../../hm/nushell.nix
|
||||
../../hm/office.nix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue