mirror of
https://github.com/RGBCube/ncc
synced 2025-07-29 02:57:44 +00:00
Add github2forgejo
This commit is contained in:
parent
f70f0723f4
commit
4b4a39fcdf
6 changed files with 63 additions and 5 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -17,6 +17,7 @@
|
|||
!hosts/enka/
|
||||
|
||||
!hosts/nine/
|
||||
!hosts/nine/github2forgejo/
|
||||
|
||||
!modules/
|
||||
!modules/hyprland/
|
||||
|
|
47
flake.lock
generated
47
flake.lock
generated
|
@ -247,7 +247,7 @@
|
|||
},
|
||||
"flake-utils_5": {
|
||||
"inputs": {
|
||||
"systems": "systems_5"
|
||||
"systems": "systems_6"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1710146030,
|
||||
|
@ -314,6 +314,27 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"github2forgejo": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
],
|
||||
"systems": "systems_3"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1716972023,
|
||||
"narHash": "sha256-bB1+bbikRBef+UuHgeYRB45wyihWk9xDHa61QBfpKXc=",
|
||||
"owner": "RGBCube",
|
||||
"repo": "GitHub2Forgejo",
|
||||
"rev": "0d99ad2dca2a2c3f78a4ae50e9af5a0748c76cac",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "RGBCube",
|
||||
"repo": "GitHub2Forgejo",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"gitignore": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
|
@ -412,7 +433,7 @@
|
|||
"hyprlang": "hyprlang",
|
||||
"hyprwayland-scanner": "hyprwayland-scanner",
|
||||
"nixpkgs": "nixpkgs_2",
|
||||
"systems": "systems_3",
|
||||
"systems": "systems_4",
|
||||
"xdph": "xdph"
|
||||
},
|
||||
"locked": {
|
||||
|
@ -653,6 +674,7 @@
|
|||
"fenix": "fenix",
|
||||
"ghostty": "ghostty",
|
||||
"ghosttyModule": "ghosttyModule",
|
||||
"github2forgejo": "github2forgejo",
|
||||
"homeManager": "homeManager",
|
||||
"hyprland": "hyprland",
|
||||
"hyprpicker": "hyprpicker",
|
||||
|
@ -734,6 +756,21 @@
|
|||
}
|
||||
},
|
||||
"systems_3": {
|
||||
"locked": {
|
||||
"lastModified": 1681028828,
|
||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"systems_4": {
|
||||
"locked": {
|
||||
"lastModified": 1689347949,
|
||||
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
|
||||
|
@ -748,7 +785,7 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"systems_4": {
|
||||
"systems_5": {
|
||||
"locked": {
|
||||
"lastModified": 1681028828,
|
||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||
|
@ -763,7 +800,7 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"systems_5": {
|
||||
"systems_6": {
|
||||
"locked": {
|
||||
"lastModified": 1681028828,
|
||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||
|
@ -795,7 +832,7 @@
|
|||
},
|
||||
"utils": {
|
||||
"inputs": {
|
||||
"systems": "systems_4"
|
||||
"systems": "systems_5"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1709126324,
|
||||
|
|
|
@ -45,6 +45,12 @@
|
|||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
github2forgejo = {
|
||||
url = "github:RGBCube/GitHub2Forgejo";
|
||||
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
||||
hyprpicker.url = "github:hyprwm/hyprpicker";
|
||||
|
||||
|
|
BIN
hosts/nine/github2forgejo/environment.age
Normal file
BIN
hosts/nine/github2forgejo/environment.age
Normal file
Binary file not shown.
12
hosts/nine/github2forgejo/github2forgejo.nix
Normal file
12
hosts/nine/github2forgejo/github2forgejo.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ config, lib, ... }: with lib;
|
||||
|
||||
systemConfiguration {
|
||||
secrets.github2forgejoEnvironment = {
|
||||
file = ./environment.age;
|
||||
owner = "github2forgejo";
|
||||
};
|
||||
|
||||
services.github2forgejo = enabled {
|
||||
environmentFile = config.secrets.github2forgejoEnvironment.path;
|
||||
};
|
||||
}
|
|
@ -30,6 +30,8 @@ with import ./keys.nix; {
|
|||
"hosts/nine/id.age".publicKeys = [ nine ] ++ admins;
|
||||
"hosts/nine/password.seven.age".publicKeys = [ nine ] ++ admins;
|
||||
|
||||
"hosts/nine/github2forgejo/environment.age".publicKeys = [ nine ] ++ admins;
|
||||
|
||||
# shared
|
||||
"modules/ssh/config.age".publicKeys = all;
|
||||
"modules/restic/password.age".publicKeys = all;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue