1
1
Fork 0

Compare commits

..

No commits in common. "f1b8e734f03b6f8637c6ebcee68127f6421b85d5" and "3ccdf98fb07b0f16c18d31c6fe76cf8cc655f18a" have entirely different histories.

7 changed files with 16 additions and 24 deletions

3
.gitmodules vendored
View File

@ -1,3 +0,0 @@
[submodule "nixos-apps/seal-blog"]
path = nixos-apps/seal-blog
url = gitea@git.ewanick.com:bill/seal-blog.git

View File

@ -2,12 +2,10 @@
services.gitea = { services.gitea = {
enable = true; enable = true;
appName = "Bill's Gitea server, hosted on Linode using NixOS"; appName = "Bill's Gitea server, hosted on Linode using NixOS";
domain = "git.ewanick.com";
rootUrl = "https://git.ewanick.com/";
httpPort = 3000;
settings = { settings = {
server = {
DOMAIN = "git.ewanick.com";
ROOT_URL = "https://git.ewanick.com/";
HTTP_PORT = 3000;
};
service = { service = {
DISABLE_REGISTRATION = true; DISABLE_REGISTRATION = true;
}; };

View File

@ -20,8 +20,8 @@
services.jitsi-videobridge.enable = true; services.jitsi-videobridge.enable = true;
services.jitsi-videobridge.openFirewall = true; services.jitsi-videobridge.openFirewall = true;
networking.firewall.allowedTCPPorts = [ 80 443 ]; networking.firewall.allowedTCPPorts = [ 80 443 ];
# security.acme.email = "me@example.com"; security.acme.email = "me@example.com";
# security.acme.acceptTerms = true; security.acme.acceptTerms = true;
# services.caddy = { # services.caddy = {
# enable = true; # enable = true;

@ -1 +0,0 @@
Subproject commit f5accae1dbc4abfd6694c57ec93ba49982ad3272

View File

@ -17,11 +17,11 @@
../nixos-apps/jitsi.crueltysquad.com.nix ../nixos-apps/jitsi.crueltysquad.com.nix
../nixos-apps/cutesealfanpage.love.nix ../nixos-apps/cutesealfanpage.love.nix
../nixos-apps/fancytypist.com.nix ../nixos-apps/fancytypist.com.nix
# ../nixos-apps/seal-blog
]; ];
# Use the GRUB 2 boot loader. # Use the GRUB 2 boot loader.
boot.loader.grub.enable = true; boot.loader.grub.enable = true;
boot.loader.grub.version = 2;
networking.usePredictableInterfaceNames = false; networking.usePredictableInterfaceNames = false;
networking.hostName = "linode-nixos"; networking.hostName = "linode-nixos";
@ -88,18 +88,16 @@
# Enable Nix-ld for remote VSCode SSH to work # Enable Nix-ld for remote VSCode SSH to work
programs.nix-ld.enable = true; programs.nix-ld.enable = true;
environment.variables = { environment.variables = {
NIX_LD_LIBRARY_PATH = lib.mkDefault (lib.makeLibraryPath [ NIX_LD_LIBRARY_PATH = lib.makeLibraryPath [
pkgs.stdenv.cc.cc pkgs.stdenv.cc.cc
]); ];
NIX_LD = lib.mkDefault (lib.fileContents "${pkgs.stdenv.cc}/nix-support/dynamic-linker"); NIX_LD = lib.fileContents "${pkgs.stdenv.cc}/nix-support/dynamic-linker";
}; };
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.
services.openssh = { services.openssh = {
enable = true; enable = true;
settings = { permitRootLogin = "no";
PermitRootLogin = "no";
};
}; };
# Open ports in the firewall. # Open ports in the firewall.
@ -119,5 +117,5 @@
# this value at the release version of the first install of this system. # this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option # Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "23.05"; # Did you read the comment? system.stateVersion = "22.11"; # Did you read the comment?
} }

View File

@ -2,16 +2,16 @@
"nodes": { "nodes": {
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1687729501, "lastModified": 1680865339,
"narHash": "sha256-mTLkMePoHUWvTCf3NuKbeYEea/tsikSIKBWwb9OfRr4=", "narHash": "sha256-H6rmJ1CyJ3Q5ZyoLMYq/UEYMS9Q1orJjRpWiQ47HudE=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "35130d4b4f0b8c50ed2aceb909a538c66c91d4a0", "rev": "0040164e473509b4aee6aedb3b923e400d6df10b",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixos-23.05", "ref": "nixos-22.11",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }

View File

@ -2,7 +2,7 @@
description = "System flake for Linode NixOS server"; description = "System flake for Linode NixOS server";
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11";
}; };
outputs = inputs@{ nixpkgs, ... }: outputs = inputs@{ nixpkgs, ... }: