Compare commits

...

4 commits

Author SHA1 Message Date
b5e55e6015
home: update ssh config 2023-06-23 11:04:02 -04:00
8a0641979b
fail2ban: trust sora 2023-06-23 11:03:45 -04:00
68d957e349
sora: init uptime-kuma 2023-06-23 11:03:32 -04:00
070d1a63f4
nushell: add sora 2023-06-23 11:03:13 -04:00
6 changed files with 17 additions and 9 deletions

View file

@ -53,9 +53,9 @@
HostName 192.168.1.211 HostName 192.168.1.211
User notoh User notoh
IdentityFile ~/.ssh/arashi IdentityFile ~/.ssh/arashi
Host hetzner Host sora
HostName 5.161.181.184 HostName 5.161.181.184
User root User notoh
IdentityFile ~/.ssh/kumo IdentityFile ~/.ssh/kumo
Host pihole Host pihole
Hostname 192.168.1.221 Hostname 192.168.1.221

View file

@ -18,6 +18,7 @@ alias sakura = nix run github:serokell/deploy-rs ".#sakura"
alias kariru = nix run github:serokell/deploy-rs ".#kariru" alias kariru = nix run github:serokell/deploy-rs ".#kariru"
alias yuki = nix run github:serokell/deploy-rs ".#yuki" alias yuki = nix run github:serokell/deploy-rs ".#yuki"
alias arashi = nix run github:serokell/deploy-rs ".#arashi" alias arashi = nix run github:serokell/deploy-rs ".#arashi"
alias sora = nix run github:serokell/deploy-rs ".#sora"
alias dx = nix run "nixpkgs#deadnix" alias dx = nix run "nixpkgs#deadnix"
alias sx = nix run "nixpkgs#statix" -- check alias sx = nix run "nixpkgs#statix" -- check
alias sxfix = nix run "nixpkgs#statix" -- fix alias sxfix = nix run "nixpkgs#statix" -- fix

View file

@ -2,16 +2,11 @@
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
./networking.nix ./networking.nix
./services
../../modules ../../modules
]; ];
environment.systemPackages = with pkgs; [ boot.tmp.cleanOnBoot = true;
git
croc
helix
];
boot.cleanTmpDir = true;
zramSwap.enable = true; zramSwap.enable = true;
networking.hostName = "sora"; networking.hostName = "sora";
networking.domain = ""; networking.domain = "";

View file

@ -1,4 +1,5 @@
{...}: { {...}: {
imports = [ imports = [
./uptimekuma.nix
]; ];
} }

View file

@ -0,0 +1,10 @@
_: {
networking.firewall.allowedTCPPorts = [4000];
services.uptime-kuma = {
enable = true;
settings = {
HOST = "100.87.54.48";
PORT = "4000";
};
};
}

View file

@ -55,6 +55,7 @@
"192.168.0.0/16" "192.168.0.0/16"
"172.16.0.0/12" "172.16.0.0/12"
"10.0.0.0/8" "10.0.0.0/8"
"5.161.181.184"
]; ];
}; };
} }