Fixed devenv not using global cachix

This commit is contained in:
2024-05-09 09:59:04 -03:00
parent 95411d9d57
commit 5f7c6958bb
3 changed files with 14 additions and 16 deletions

View File

@@ -3,11 +3,11 @@
"devenv": { "devenv": {
"locked": { "locked": {
"dir": "src/modules", "dir": "src/modules",
"lastModified": 1714833004, "lastModified": 1715246369,
"owner": "cachix", "owner": "cachix",
"repo": "devenv", "repo": "devenv",
"rev": "21a278606259134e0ad80c75e862986f93f09ee0", "rev": "8f089ccfdef53f2ea5e0bfabe25dba4769f5390f",
"treeHash": "5d535cbcff02a22ffa44b03d40fd0a355c95f98d", "treeHash": "9879f281d3e41405587c97f174a0564ceab94fbb",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -74,11 +74,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1714912032, "lastModified": 1715037484,
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "ee4a6e0f566fe5ec79968c57a9c2c3c25f2cf41d", "rev": "ad7efee13e0d216bf29992311536fce1d3eefbef",
"treeHash": "d82c91581229b55f4682426a5b497b1595bf353b", "treeHash": "30f4b487bd2fc1c8db99ea1223922808967a04b8",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -90,11 +90,11 @@
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1714782413, "lastModified": 1714971268,
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "651b4702e27a388f0f18e1b970534162dec09aff", "rev": "27c13997bf450a01219899f5a83bd6ffbfc70d3c",
"treeHash": "e1912709de4e106ed71e84f8b52ed9bbce65cc77", "treeHash": "20dbb6f37eecbe11d5db5d6f67a6b69caef954f9",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -1,8 +1,10 @@
{pkgs, ...}: { {pkgs, ...}: {
cachix.enable = false;
pre-commit.hooks = { pre-commit.hooks = {
alejandra.enable = true; alejandra.enable = true;
deadnix.enable = true; deadnix.enable = true;
}; };
packages = with pkgs; [nixpkgs-fmt nixfmt alejandra deadnix nil]; packages = with pkgs; [alejandra deadnix nil];
} }

View File

@@ -5,16 +5,12 @@
}: { }: {
nix.settings = { nix.settings = {
experimental-features = ["nix-command" "flakes"]; experimental-features = ["nix-command" "flakes"];
substituters = [ extra-substituters = [
"https://nix-community.cachix.org" "https://nix-community.cachix.org"
]; ];
trusted-public-keys = [ extra-trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
]; ];
trusted-users = [
"root"
"panotaka"
];
}; };
# Enable CUPS to print documents. # Enable CUPS to print documents.