mirror of
https://github.com/RGBCube/ncc
synced 2025-07-29 19:17:45 +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/enka/
|
||||||
|
|
||||||
!hosts/nine/
|
!hosts/nine/
|
||||||
|
!hosts/nine/github2forgejo/
|
||||||
|
|
||||||
!modules/
|
!modules/
|
||||||
!modules/hyprland/
|
!modules/hyprland/
|
||||||
|
|
47
flake.lock
generated
47
flake.lock
generated
|
@ -247,7 +247,7 @@
|
||||||
},
|
},
|
||||||
"flake-utils_5": {
|
"flake-utils_5": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"systems": "systems_5"
|
"systems": "systems_6"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1710146030,
|
"lastModified": 1710146030,
|
||||||
|
@ -314,6 +314,27 @@
|
||||||
"type": "github"
|
"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": {
|
"gitignore": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
@ -412,7 +433,7 @@
|
||||||
"hyprlang": "hyprlang",
|
"hyprlang": "hyprlang",
|
||||||
"hyprwayland-scanner": "hyprwayland-scanner",
|
"hyprwayland-scanner": "hyprwayland-scanner",
|
||||||
"nixpkgs": "nixpkgs_2",
|
"nixpkgs": "nixpkgs_2",
|
||||||
"systems": "systems_3",
|
"systems": "systems_4",
|
||||||
"xdph": "xdph"
|
"xdph": "xdph"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
|
@ -653,6 +674,7 @@
|
||||||
"fenix": "fenix",
|
"fenix": "fenix",
|
||||||
"ghostty": "ghostty",
|
"ghostty": "ghostty",
|
||||||
"ghosttyModule": "ghosttyModule",
|
"ghosttyModule": "ghosttyModule",
|
||||||
|
"github2forgejo": "github2forgejo",
|
||||||
"homeManager": "homeManager",
|
"homeManager": "homeManager",
|
||||||
"hyprland": "hyprland",
|
"hyprland": "hyprland",
|
||||||
"hyprpicker": "hyprpicker",
|
"hyprpicker": "hyprpicker",
|
||||||
|
@ -734,6 +756,21 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"systems_3": {
|
"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": {
|
"locked": {
|
||||||
"lastModified": 1689347949,
|
"lastModified": 1689347949,
|
||||||
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
|
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
|
||||||
|
@ -748,7 +785,7 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"systems_4": {
|
"systems_5": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1681028828,
|
"lastModified": 1681028828,
|
||||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||||
|
@ -763,7 +800,7 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"systems_5": {
|
"systems_6": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1681028828,
|
"lastModified": 1681028828,
|
||||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||||
|
@ -795,7 +832,7 @@
|
||||||
},
|
},
|
||||||
"utils": {
|
"utils": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"systems": "systems_4"
|
"systems": "systems_5"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1709126324,
|
"lastModified": 1709126324,
|
||||||
|
|
|
@ -45,6 +45,12 @@
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
github2forgejo = {
|
||||||
|
url = "github:RGBCube/GitHub2Forgejo";
|
||||||
|
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
|
||||||
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
||||||
hyprpicker.url = "github:hyprwm/hyprpicker";
|
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/id.age".publicKeys = [ nine ] ++ admins;
|
||||||
"hosts/nine/password.seven.age".publicKeys = [ nine ] ++ admins;
|
"hosts/nine/password.seven.age".publicKeys = [ nine ] ++ admins;
|
||||||
|
|
||||||
|
"hosts/nine/github2forgejo/environment.age".publicKeys = [ nine ] ++ admins;
|
||||||
|
|
||||||
# shared
|
# shared
|
||||||
"modules/ssh/config.age".publicKeys = all;
|
"modules/ssh/config.age".publicKeys = all;
|
||||||
"modules/restic/password.age".publicKeys = all;
|
"modules/restic/password.age".publicKeys = all;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue