1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 19:47:47 +00:00

Remove dep duplication

This commit is contained in:
RGBCube 2024-03-25 21:34:13 +03:00
parent 45efed900e
commit d7610f2455
No known key found for this signature in database
4 changed files with 293 additions and 624 deletions

View file

@ -13,6 +13,8 @@
})
(systemConfiguration {
environment.etc."flakes".text = builtins.toJSON inputs;
nix = {
gc = {
automatic = true;
@ -27,10 +29,11 @@
package = upkgs.nixSuper;
registry = (builtins.mapAttrs
(_: value: lib.mkIf (value ? sourceInfo) {
flake = value;
}) inputs) // { default.flake = inputs.nixpkgs; };
registry = {
default.flake = inputs.nixpkgs;
} // builtins.mapAttrs (_: value: lib.mkIf (lib.isType "flake" value) {
flake = value;
}) inputs;
settings.experimental-features = [
"auto-allocate-uids"
@ -47,7 +50,8 @@
settings = {
accept-flake-config = true;
builders-use-substitutes = true;
builders-use-substitutes = true;
flake-registry = ""; # I DON'T WANT THE GLOBAL REGISTRY!!!
http-connections = 50;
trusted-users = [ "root" "@wheel" ];
use-cgroups = true;

View file

@ -26,7 +26,7 @@
]))
(desktopSystemPackages (with pkgs; [
upkgs.agenix
upkgs.ageNix
clang_16
clang-tools_16