gitea: migrate to forgejo
This commit is contained in:
parent
431ad5ad9e
commit
eb94ce1313
4 changed files with 34 additions and 33 deletions
|
@ -1,22 +1,8 @@
|
|||
{
|
||||
admin = import ./admin.nix;
|
||||
backup = import ./backup.nix;
|
||||
borgServer = import ./borg-server.nix;
|
||||
ddns = import ./ddns.nix;
|
||||
element = import ./element.nix;
|
||||
fileShare = import ./fileShare.nix;
|
||||
gitea = import ./gitea.nix;
|
||||
headphones = import ./headphones.nix;
|
||||
homepage = import ./homepage.nix;
|
||||
miniflux = import ./miniflux.nix;
|
||||
inputs = import ./inputs.nix;
|
||||
nixpkgs = import ./nixpkgs.nix;
|
||||
packages = import ./packages.nix;
|
||||
secrets = import ./secrets.nix;
|
||||
share = import ./share.nix;
|
||||
steam = import ./steam.nix;
|
||||
sway = import ./sway.nix;
|
||||
vpnServer = import ./vpnServer.nix;
|
||||
weechat = import ./weechat.nix;
|
||||
yubikey = import ./yubikey.nix;
|
||||
}
|
||||
{ lib, ... }:
|
||||
with lib; let
|
||||
modules' = dir: filterAttrs (name: type: (name != "default.nix" && name != "profiles" && ((hasSuffix ".nix" name) || (type == "directory"))))
|
||||
(builtins.readDir dir);
|
||||
modules = dir: mapAttrs' (name: _: nameValuePair (removeSuffix ".nix" name) (import (dir + "/${name}")))
|
||||
(modules' dir);
|
||||
in
|
||||
(modules ./.)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue