Deploy alice!
This commit is contained in:
parent
6072009b13
commit
c2dfe588ba
4 changed files with 82 additions and 0 deletions
|
@ -11,6 +11,7 @@ Latest news:
|
|||
* Now supports fetching your ssh key from a url, contact an admin
|
||||
* Nova: new UK GPU host! try nova.wolfgirl.systems
|
||||
* Jude: new Kansas City host! try jude.wolfgirl.systems
|
||||
* Alice: new Ashburn host! try alice.wolfgirl.systems
|
||||
*-+-*-+-*-+-*-+-*-+-*-+-*-+-*-+-*-+-*-+-*-+-*-+-*-+-*-+-*-+-*-+-*
|
||||
'';
|
||||
}
|
||||
|
|
56
hosts/alice.nix
Normal file
56
hosts/alice.nix
Normal file
|
@ -0,0 +1,56 @@
|
|||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/profiles/qemu-guest.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "uhci_hcd" "ehci_pci" "ahci" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/1aeaf426-9dec-40b8-b472-5785832444a6";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
|
||||
boot.loader.grub.enable = true;
|
||||
boot.loader.grub.device = "/dev/sda";
|
||||
|
||||
time.timeZone = "America/New_York";
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
services.openssh.enable = true;
|
||||
|
||||
networking = {
|
||||
hostName = "alice";
|
||||
search = ["wolfgirl.systems"];
|
||||
nameservers = [ "9.9.9.10" "149.112.112.10" "2620:fe::10" "2620:fe::fe:10"];
|
||||
dhcpcd.enable = false;
|
||||
interfaces.enp6s18.ipv4.addresses = [{
|
||||
address = "207.167.121.11";
|
||||
prefixLength = 24;
|
||||
}];
|
||||
interfaces.enp6s18.ipv6.addresses = [{
|
||||
address = "2602:fbf5:1::cfa7:790b";
|
||||
prefixLength = 48;
|
||||
}];
|
||||
defaultGateway = {
|
||||
address = "207.167.121.1";
|
||||
interface = "enp6s18";
|
||||
};
|
||||
defaultGateway6 = {
|
||||
address = "2602:fbf5:1::1";
|
||||
interface = "enp6s18";
|
||||
};
|
||||
};
|
||||
|
||||
environment.etc."info" = {
|
||||
mode = "0644";
|
||||
text = builtins.readFile ./info/alice;
|
||||
};
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
}
|
16
hosts/info/alice
Normal file
16
hosts/info/alice
Normal file
|
@ -0,0 +1,16 @@
|
|||
Server sponsored by https://haylinmoore.com at Ashburn
|
||||
|
||||
No user in this region shall do the following.
|
||||
1. DDoS/DoS Attacks
|
||||
2. Hacking/Cracking of any kind
|
||||
3. Spamming, Including but not limited to, eMail spam/mass mailing, web spam,
|
||||
ping flood, etc
|
||||
4. Interstate Gambling or Pyramid Schemes
|
||||
5. Transmission, Storage, or Distribution of any Adult Content, Sexually
|
||||
Explicit Services, hacker programs, and copyrighted materials(except if you
|
||||
are the copyright owner, or you have a license that permits what you are doing).
|
||||
6. Sale of a controlled substance or other online pharmacies, and weapons.
|
||||
7. Harassment or advocacy of violence against a specific person or class of people
|
||||
8. Anything that violates the laws that governs Kansas City, Missouri.
|
||||
9. Tor
|
||||
10. Anything to damage my IP Reputation
|
|
@ -38,4 +38,13 @@ in
|
|||
./common
|
||||
];
|
||||
};
|
||||
"alice" = { pkgs, ... }: {
|
||||
deployment = {
|
||||
targetHost = "207.167.121.11";
|
||||
};
|
||||
imports = [
|
||||
./hosts/alice.nix
|
||||
./common
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue