feat: add nix-index-database with comma

This commit is contained in:
EinEtwas 2024-10-21 14:30:37 +02:00
parent b81cf9f9a2
commit f11b4310b3
5 changed files with 37 additions and 3 deletions

View file

@ -115,6 +115,26 @@
"type": "github"
}
},
"nix-index-database": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1729394935,
"narHash": "sha256-2ntUG+NJKdfhlrh/tF+jOU0fOesO7lm5ZZVSYitsvH8=",
"owner": "nix-community",
"repo": "nix-index-database",
"rev": "04f8a11f247ba00263b060fbcdc95484fd046104",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nix-index-database",
"type": "github"
}
},
"nixos-hardware": {
"locked": {
"lastModified": 1729501257,
@ -168,6 +188,7 @@
"agenix": "agenix",
"catppuccin": "catppuccin",
"home-manager": "home-manager_2",
"nix-index-database": "nix-index-database",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_2",
"spicetify-nix": "spicetify-nix"

View file

@ -3,20 +3,30 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
catppuccin.url = "github:catppuccin/nix";
agenix.url = "github:ryantm/agenix";
spicetify-nix = {
url = "github:Gerg-L/spicetify-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-index-database = {
url = "github:nix-community/nix-index-database";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, nixos-hardware, agenix, spicetify-nix, ... } @ inputs: {
outputs = { self, nixpkgs, nixos-hardware, agenix, spicetify-nix, nix-index-database, ... } @ inputs: {
nixosConfigurations.rhea-laptop = nixpkgs.lib.nixosSystem {
specialArgs = {
inherit inputs;
@ -28,9 +38,10 @@
# List all Modules to load
modules = [
nixos-hardware.nixosModules.framework-13-7040-amd
nix-index-database.nixosModules.nix-index
agenix.nixosModules.default
./modules
./home
agenix.nixosModules.default
];
};
};

View file

@ -31,6 +31,7 @@
imports = [
inputs.catppuccin.homeManagerModules.catppuccin
inputs.spicetify-nix.homeManagerModules.default
inputs.nix-index-database.hmModules.nix-index
./hyprland.nix
./git.nix
./waybar

View file

@ -23,7 +23,6 @@
pavucontrol
# nix-tools
nix-index
nix-output-monitor
nil
nh

View file

@ -1,4 +1,6 @@
{
programs.nix-index-database.comma.enable = true;
programs.zsh = {
enable = true;