mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 19:47:47 +00:00
Add site
This commit is contained in:
parent
66801ef414
commit
7c1900dff6
5 changed files with 124 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -39,6 +39,7 @@
|
||||||
!modules/qt/
|
!modules/qt/
|
||||||
!modules/ripgrep/
|
!modules/ripgrep/
|
||||||
!modules/rust/
|
!modules/rust/
|
||||||
|
!modules/site/
|
||||||
!modules/ssh/
|
!modules/ssh/
|
||||||
!modules/steam/
|
!modules/steam/
|
||||||
!modules/sudo/
|
!modules/sudo/
|
||||||
|
|
109
flake.lock
generated
109
flake.lock
generated
|
@ -1,5 +1,42 @@
|
||||||
{
|
{
|
||||||
"nodes": {
|
"nodes": {
|
||||||
|
"advisory-db": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1703184318,
|
||||||
|
"narHash": "sha256-vx2/goSpegxiFc7e1jKNHzBkhnsIQjriV4GZLaVe17M=",
|
||||||
|
"owner": "rustsec",
|
||||||
|
"repo": "advisory-db",
|
||||||
|
"rev": "a5fb72de318a74eb69a2c241c0e46705684a35d0",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "rustsec",
|
||||||
|
"repo": "advisory-db",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"crane": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"site",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1703439018,
|
||||||
|
"narHash": "sha256-VT+06ft/x3eMZ1MJxWzQP3zXFGcrxGo5VR2rB7t88hs=",
|
||||||
|
"owner": "ipetkov",
|
||||||
|
"repo": "crane",
|
||||||
|
"rev": "afdcd41180e3dfe4dac46b5ee396e3b12ccc967a",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "ipetkov",
|
||||||
|
"repo": "crane",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"fenix": {
|
"fenix": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
@ -21,6 +58,30 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"fenix_2": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"site",
|
||||||
|
"nixpkgs"
|
||||||
|
],
|
||||||
|
"rust-analyzer-src": [
|
||||||
|
"site"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1703917281,
|
||||||
|
"narHash": "sha256-fmhKbANx4PLG/Rt/QvKBsAdmyl8vAGQfROtccenMonw=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "fenix",
|
||||||
|
"rev": "8ad4353759945bec3a5f4bfc53efe818bb41e12a",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "fenix",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"flake-compat": {
|
"flake-compat": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
|
@ -595,8 +656,9 @@
|
||||||
"nixSuper": "nixSuper",
|
"nixSuper": "nixSuper",
|
||||||
"nixpkgs": "nixpkgs_4",
|
"nixpkgs": "nixpkgs_4",
|
||||||
"nuScripts": "nuScripts",
|
"nuScripts": "nuScripts",
|
||||||
|
"site": "site",
|
||||||
"themes": "themes",
|
"themes": "themes",
|
||||||
"tools": "tools",
|
"tools": "tools_2",
|
||||||
"zig": "zig_2",
|
"zig": "zig_2",
|
||||||
"zls": "zls_2"
|
"zls": "zls_2"
|
||||||
}
|
}
|
||||||
|
@ -618,6 +680,30 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"site": {
|
||||||
|
"inputs": {
|
||||||
|
"advisory-db": "advisory-db",
|
||||||
|
"crane": "crane",
|
||||||
|
"fenix": "fenix_2",
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
],
|
||||||
|
"tools": "tools"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1703941106,
|
||||||
|
"narHash": "sha256-z1+BtPXxwcdx1oLR+kZC2lgsqPbSMVGA0b7kueN5Aag=",
|
||||||
|
"owner": "RGBCube",
|
||||||
|
"repo": "Site",
|
||||||
|
"rev": "2faab82c80d506b764e9f2a68553931ba1da2f69",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "RGBCube",
|
||||||
|
"repo": "Site",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"systems": {
|
"systems": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1681028828,
|
"lastModified": 1681028828,
|
||||||
|
@ -679,6 +765,27 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"tools": {
|
"tools": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"site",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1700815030,
|
||||||
|
"narHash": "sha256-x24obS8VMX5tmf8MkJMyjG7UxxJxSiH+k063Xwyfzqg=",
|
||||||
|
"owner": "RGBCube",
|
||||||
|
"repo": "FlakeTools",
|
||||||
|
"rev": "7fd62102ff360783e0fcd1f4eb434d90d06694c8",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "RGBCube",
|
||||||
|
"repo": "FlakeTools",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"tools_2": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
|
|
|
@ -67,6 +67,11 @@
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
site = {
|
||||||
|
url = "github:RGBCube/Site";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
|
||||||
tools = {
|
tools = {
|
||||||
url = "github:RGBCube/FlakeTools";
|
url = "github:RGBCube/FlakeTools";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
@ -85,6 +90,7 @@
|
||||||
nuScripts,
|
nuScripts,
|
||||||
fenix,
|
fenix,
|
||||||
zig,
|
zig,
|
||||||
|
site,
|
||||||
tools,
|
tools,
|
||||||
themes,
|
themes,
|
||||||
...
|
...
|
||||||
|
@ -144,6 +150,7 @@
|
||||||
specialArgs = { inherit inputs ulib upkgs theme; };
|
specialArgs = { inherit inputs ulib upkgs theme; };
|
||||||
modules = [
|
modules = [
|
||||||
homeManager.nixosModules.default
|
homeManager.nixosModules.default
|
||||||
|
site.nixosModules.default
|
||||||
defaultConfiguration
|
defaultConfiguration
|
||||||
./hosts/${host}
|
./hosts/${host}
|
||||||
];
|
];
|
||||||
|
|
|
@ -37,6 +37,7 @@
|
||||||
"python"
|
"python"
|
||||||
"ripgrep"
|
"ripgrep"
|
||||||
"rust"
|
"rust"
|
||||||
|
"site"
|
||||||
"ssh"
|
"ssh"
|
||||||
"sudo"
|
"sudo"
|
||||||
"tmp"
|
"tmp"
|
||||||
|
|
7
modules/site/default.nix
Normal file
7
modules/site/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{ ulib, ... }: with ulib;
|
||||||
|
|
||||||
|
systemConfiguration {
|
||||||
|
services.site = { # enabled {
|
||||||
|
openFirewall = true;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue