Compare commits
No commits in common. "d2e782d7fecdcb060423afd32845c051625a5091" and "9e21298f1d888ae0aa697fcb1f45ccba96432625" have entirely different histories.
d2e782d7fe
...
9e21298f1d
3 changed files with 5 additions and 60 deletions
4
.vscode/nixmodule.code-snippets
vendored
4
.vscode/nixmodule.code-snippets
vendored
|
@ -12,7 +12,7 @@
|
||||||
" cfg = config.mySystem.${1:moduleName};",
|
" cfg = config.mySystem.${1:moduleName};",
|
||||||
"in",
|
"in",
|
||||||
"{",
|
"{",
|
||||||
" options.mySystem.${1:moduleName} = {",
|
" options.${1:moduleName} = {",
|
||||||
" enable = lib.mkEnableOption \"${2:Description of the module}\";",
|
" enable = lib.mkEnableOption \"${2:Description of the module}\";",
|
||||||
" };",
|
" };",
|
||||||
"",
|
"",
|
||||||
|
@ -32,7 +32,7 @@
|
||||||
" cfg = config.myHome.programs.${1:moduleName};",
|
" cfg = config.myHome.programs.${1:moduleName};",
|
||||||
"in",
|
"in",
|
||||||
"{",
|
"{",
|
||||||
" options.myHome.programs.${1:moduleName} = {",
|
" options.${1:moduleName} = {",
|
||||||
" enable = lib.mkEnableOption \"${2:Description of the module}\";",
|
" enable = lib.mkEnableOption \"${2:Description of the module}\";",
|
||||||
" };",
|
" };",
|
||||||
"",
|
"",
|
||||||
|
|
|
@ -1,46 +0,0 @@
|
||||||
{ ... }:
|
|
||||||
{
|
|
||||||
name = "Soft Serve";
|
|
||||||
log = {
|
|
||||||
format = "text";
|
|
||||||
time_format = "2006-01-02 15:04:05";
|
|
||||||
};
|
|
||||||
ssh = {
|
|
||||||
listen_addr = ":23231";
|
|
||||||
public_url = "ssh://10.1.1.61:23231";
|
|
||||||
key_path = "ssh/soft_serve_host_ed25519";
|
|
||||||
client_key_path = "ssh/soft_serve_client_ed25519";
|
|
||||||
max_timeout = 0;
|
|
||||||
idle_timeout = 600;
|
|
||||||
};
|
|
||||||
git = {
|
|
||||||
listen_addr = ":9418";
|
|
||||||
public_url = "git://10.1.1.61";
|
|
||||||
max_timeout = 0;
|
|
||||||
idle_timeout = 3;
|
|
||||||
max_connections = 32;
|
|
||||||
};
|
|
||||||
http = {
|
|
||||||
listen_addr = ":23232";
|
|
||||||
tls_key_path = null;
|
|
||||||
tls_cert_path = null;
|
|
||||||
public_url = "http://10.1.1.61:23232";
|
|
||||||
};
|
|
||||||
stats = {
|
|
||||||
listen_addr = "10.1.1.61:23233";
|
|
||||||
};
|
|
||||||
db = {
|
|
||||||
driver = "sqlite";
|
|
||||||
data_source = "soft-serve.db?_pragma=busy_timeout(5000)&_pragma=foreign_keys(1)";
|
|
||||||
};
|
|
||||||
lfs = {
|
|
||||||
enabled = true;
|
|
||||||
ssh_enabled = false;
|
|
||||||
};
|
|
||||||
jobs = {
|
|
||||||
mirror_pull = "@every 10m";
|
|
||||||
};
|
|
||||||
initial_admin_keys = [
|
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILcLI5qN69BuoLp8p7nTYKoLdsBNmZB31OerZ63Car1g jahanson@telchar"
|
|
||||||
];
|
|
||||||
}
|
|
|
@ -38,19 +38,10 @@ in
|
||||||
# VSCode Compatibility Settings
|
# VSCode Compatibility Settings
|
||||||
nix-ld.enable = true;
|
nix-ld.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
|
||||||
# Soft Serve
|
|
||||||
soft-serve = {
|
|
||||||
enable = true;
|
|
||||||
settings = import ./config/soft-serve.nix { };
|
|
||||||
};
|
|
||||||
|
|
||||||
# VSCode Compatibility Settings
|
# VSCode Compatibility Settings
|
||||||
vscode-server = {
|
services.vscode-server = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
|
||||||
# Home Manager
|
# Home Manager
|
||||||
home-manager.users.jahanson = {
|
home-manager.users.jahanson = {
|
||||||
|
|
Loading…
Reference in a new issue