Remove nix-index-database

This commit is contained in:
Evie Litherland-Smith 2023-11-14 11:43:47 +00:00
parent 2260c14a8d
commit 9ffa807cda

View file

@ -7,10 +7,6 @@
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-index-database = {
url = "github:Mic92/nix-index-database";
inputs.nixpkgs.follows = "nixpkgs";
};
stylix = {
url = "github:danth/stylix";
inputs.nixpkgs.follows = "nixpkgs";
@ -25,8 +21,7 @@
};
};
outputs =
{ nixpkgs, home-manager, nix-index-database, stylix, kmonad, anyrun, ... }:
outputs = { nixpkgs, home-manager, stylix, kmonad, anyrun, ... }:
let
default = {
hostName = "Atlas";
@ -61,7 +56,6 @@
./hosts/${hostName}/configuration.nix
./hosts/${hostName}/hardware-configuration.nix
home-manager.nixosModules.home-manager
nix-index-database.nixosModules.nix-index
stylix.nixosModules.stylix
kmonad.nixosModules.default
({ config, lib, pkgs, ... }: {
@ -80,8 +74,6 @@
set tabsize 2
'';
};
command-not-found.enable = false;
nix-index.enable = true;
};
nix = {
enable = true;
@ -89,11 +81,7 @@
experimental-features = [ "nix-command" "flakes" ];
auto-optimise-store = true;
};
channel.enable = false;
nixPath = [
"nixpkgs=${pkgs.path}"
"/nix/var/nix/profiles/per-user/root/channels"
];
channel.enable = true;
registry = {
nixpkgs.to = {
type = "path";