Depot cannot be stopped and neither can I

This commit is contained in:
kat witch 2021-08-09 02:41:43 +01:00
parent 1f613c6fb7
commit 01460123a6
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
256 changed files with 15 additions and 15 deletions

4
.gitmodules vendored
View file

@ -1,5 +1,5 @@
[submodule "config/trusted"]
path = config/trusted
[submodule "depot/trusted"]
path = depot/trusted
branch = main
url = "https://git.kittywit.ch/kat/nixfiles-trusted.git"
[submodule "wiki"]

@ -1 +0,0 @@
Subproject commit 70c8d6bfd3e825db5edfd039d9ef75cee18ab462

View file

@ -18,7 +18,7 @@ let
filterAttrNamesToList = filter: set:
lib.foldl' (a: b: a ++ b) [ ]
(map (e: if (filter e set.${e}) then [ e ] else [ ]) (lib.attrNames set));
depotNames = lib.unique ((filterAttrNamesToList (name: type: name != "trusted" && type == "directory") (builtins.readDir ./config)) ++ (filterAttrNamesToList (name: type: name != "pkgs" && type == "directory") (builtins.readDir ./config/trusted)));
depotNames = lib.unique ((filterAttrNamesToList (name: type: name != "trusted" && type == "directory") (builtins.readDir ./depot)) ++ (filterAttrNamesToList (name: type: name != "pkgs" && type == "directory") (builtins.readDir ./depot/trusted)));
depot = lib.mapListToAttrs (folder: lib.nameValuePair folder (lib.domainMerge { inherit folder; })) depotNames;
/*
@ -34,8 +34,8 @@ let
modules = lib.singleton metaConfig
++ lib.attrValues (removeAttrs depot.targets ["common"])
++ lib.attrValues depot.hosts
++ lib.optional (builtins.pathExists ./config/trusted/meta.nix) ./config/trusted/meta.nix
++ lib.singleton ./config/modules/meta/default.nix;
++ lib.optional (builtins.pathExists ./depot/trusted/meta.nix) ./depot/trusted/meta.nix
++ lib.singleton ./depot/modules/meta/default.nix;
specialArgs = {
inherit sources;

View file

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Before After
Before After

Some files were not shown because too many files have changed in this diff Show more