Compare commits
4 commits
c4ad75b732
...
b5e55e6015
Author | SHA1 | Date | |
---|---|---|---|
b5e55e6015 | |||
8a0641979b | |||
68d957e349 | |||
070d1a63f4 |
6 changed files with 17 additions and 9 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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 = "";
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{...}: {
|
{...}: {
|
||||||
imports = [
|
imports = [
|
||||||
|
./uptimekuma.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
10
hosts/sora/services/uptimekuma.nix
Normal file
10
hosts/sora/services/uptimekuma.nix
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
_: {
|
||||||
|
networking.firewall.allowedTCPPorts = [4000];
|
||||||
|
services.uptime-kuma = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
HOST = "100.87.54.48";
|
||||||
|
PORT = "4000";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -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"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue