nix index automatic

This commit is contained in:
Julien Malka 2023-06-10 19:28:42 +02:00
parent 8f94c1e1f0
commit 2770d8fb58
Signed by: Luj
GPG key ID: 6FC74C847011FD83
4 changed files with 31 additions and 1 deletions

View file

@ -26,11 +26,13 @@
rxvt_unicode
xorg.xbacklight
neovim
comma
];
environment.variables.EDITOR = "nvim";
programs.command-not-found.enable = false;
programs.nix-index-database.comma.enable = true;
networking.firewall.checkReversePath = "loose";
systemd.services.NetworkManager-wait-online.enable = false;

21
flake.lock generated
View file

@ -325,6 +325,26 @@
"type": "github"
}
},
"nix-index-database": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1685764721,
"narHash": "sha256-CIy1iwQTEKfZRrid4gBLA+r/LPGA9IUFo0lKJVyECGI=",
"owner": "Mic92",
"repo": "nix-index-database",
"rev": "669ca1f2e2bc401abab6b837ae9c51503edc9b49",
"type": "github"
},
"original": {
"owner": "Mic92",
"repo": "nix-index-database",
"type": "github"
}
},
"nix-rfc-92": {
"inputs": {
"flake-compat": "flake-compat_3",
@ -473,6 +493,7 @@
"hyprpaper": "hyprpaper",
"linkal": "linkal",
"nil": "nil",
"nix-index-database": "nix-index-database",
"nix-rfc-92": "nix-rfc-92",
"nixos-apple-silicon": "nixos-apple-silicon",
"nixpkgs": "nixpkgs_5",

View file

@ -70,6 +70,12 @@
inputs.nixpkgs.follows = "unstable";
};
nix-index-database =
{
url = "github:Mic92/nix-index-database";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-rfc-92.url = "github:obsidiansystems/nix/dynamic-drvs";
};

View file

@ -24,6 +24,7 @@ in
inputs.simple-nixos-mailserver.nixosModule
inputs.hyprland.nixosModules.default
inputs.attic.nixosModules.atticd
inputs.nix-index-database.nixosModules.nix-index
{
home-manager.useGlobalPkgs = true;
nixpkgs.overlays = [