mirror of
https://github.com/youwen5/nixos.git
synced 2024-11-28 11:43:51 -08:00
feat: add zen-browser source and cache
This commit is contained in:
parent
ae7223b213
commit
54c6920e83
2 changed files with 17 additions and 4 deletions
|
@ -86,6 +86,8 @@
|
|||
url = "github:youwen5/zen-browser-flake";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
zen-browser-source.url = "github:youwen5/zen-browser-source-flake";
|
||||
};
|
||||
|
||||
outputs =
|
||||
|
|
|
@ -25,10 +25,6 @@
|
|||
services.gnome.gnome-keyring.enable = true;
|
||||
|
||||
nix = {
|
||||
settings.experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
optimise.automatic = true;
|
||||
# gc = {
|
||||
# automatic = true;
|
||||
|
@ -40,6 +36,21 @@
|
|||
min-free = ${toString (100 * 1024 * 1024)}
|
||||
max-free = ${toString (1024 * 1024 * 1024)}
|
||||
'';
|
||||
|
||||
settings = {
|
||||
experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
substituters = [
|
||||
"https://cache.nixos.org"
|
||||
"https://zen-browser.cachix.org"
|
||||
];
|
||||
trusted-public-keys = [
|
||||
"hydra.nixos.org-1:CNHJZBh9K4tP3EKF6FkkgeVYsS3ohTl+oS0Qa8bezVs="
|
||||
"zen-browser.cachix.org-1:z/QLGrEkiBYF/7zoHX1Hpuv0B26QrmbVBSy9yDD2tSs="
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
programs.nh = {
|
||||
|
|
Loading…
Reference in a new issue