nix-index: use the prebuilt one

This commit is contained in:
Motiejus Jakštys 2023-09-21 06:06:10 +03:00
parent 4dd83425cf
commit e3783b8c8b
3 changed files with 28 additions and 3 deletions

21
flake.lock generated
View File

@ -103,6 +103,26 @@
"type": "github"
}
},
"nix-index-database": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1694921880,
"narHash": "sha256-yU36cs5UdzhTwsM9bUWUz43N//ELzQ1ro69C07pU/8E=",
"owner": "Mic92",
"repo": "nix-index-database",
"rev": "9d2bcc47110b3b6217dfebd6761ba20bc78aedf2",
"type": "github"
},
"original": {
"owner": "Mic92",
"repo": "nix-index-database",
"type": "github"
}
},
"nixos-hardware": {
"locked": {
"lastModified": 1695109627,
@ -156,6 +176,7 @@
"deploy-rs": "deploy-rs",
"flake-utils": "flake-utils",
"home-manager": "home-manager",
"nix-index-database": "nix-index-database",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs",
"nur": "nur"

View File

@ -19,6 +19,9 @@
deploy-rs.inputs.nixpkgs.follows = "nixpkgs";
deploy-rs.inputs.utils.follows = "flake-utils";
nix-index-database.url = "github:Mic92/nix-index-database";
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
nur.url = "github:nix-community/NUR";
};
@ -35,6 +38,7 @@
flake-utils,
home-manager,
nixos-hardware,
nix-index-database,
nur,
} @ inputs: let
myData = import ./data.nix;
@ -120,6 +124,7 @@
agenix.nixosModules.default
home-manager.nixosModules.home-manager
nixos-hardware.nixosModules.framework-12th-gen-intel
nix-index-database.nixosModules.nix-index
{
age.secrets.motiejus-passwd-hash.file = ./secrets/motiejus_passwd_hash.age;

View File

@ -52,9 +52,10 @@
};
programs = {
adb.enable = true;
slock.enable = true;
nm-applet.enable = true;
adb.enable = true;
command-not-found.enable = false;
};
security.rtkit.enable = true;
@ -129,8 +130,6 @@
home-manager.users.motiejus = {pkgs, ...}: {
xdg.configFile."awesome/rc.lua".source = ./rc.lua;
programs.nix-index.enable = true;
programs.firefox = {
enable = true;
profiles = {