Compare commits
No commits in common. "02f3fd50e1e465bce8357d3304b31d71cd7bf6fc" and "d8b2f16f84ccf682b16757a2fe67eadd079ec57f" have entirely different histories.
02f3fd50e1
...
d8b2f16f84
@ -44,6 +44,7 @@
|
|||||||
"reg" = mkSystem "x86_64-linux" nixpkgs ./machines/reg/configuration.nix;
|
"reg" = mkSystem "x86_64-linux" nixpkgs ./machines/reg/configuration.nix;
|
||||||
"ray" = mkSystem "x86_64-linux" nixpkgs ./machines/ray/configuration.nix;
|
"ray" = mkSystem "x86_64-linux" nixpkgs ./machines/ray/configuration.nix;
|
||||||
"mitty" = mkSystem "x86_64-linux" nixpkgs ./machines/mitty/configuration.nix;
|
"mitty" = mkSystem "x86_64-linux" nixpkgs ./machines/mitty/configuration.nix;
|
||||||
|
"nanachi" = mkSystem "x86_64-linux" nixpkgs ./machines/nanachi/configuration.nix;
|
||||||
"riko" = mkSystem "x86_64-linux" nixpkgs ./machines/riko/configuration.nix;
|
"riko" = mkSystem "x86_64-linux" nixpkgs ./machines/riko/configuration.nix;
|
||||||
"neetdev" = mkSystem "x86_64-linux" nixpkgs ./machines/neet.dev/configuration.nix;
|
"neetdev" = mkSystem "x86_64-linux" nixpkgs ./machines/neet.dev/configuration.nix;
|
||||||
"liza" = mkSystem "x86_64-linux" nixpkgs-peertube ./machines/liza/configuration.nix;
|
"liza" = mkSystem "x86_64-linux" nixpkgs-peertube ./machines/liza/configuration.nix;
|
||||||
|
@ -126,24 +126,6 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.matrix = {
|
|
||||||
enable = true;
|
|
||||||
host = "neet.space";
|
|
||||||
enable_registration = false;
|
|
||||||
element-web = {
|
|
||||||
enable = true;
|
|
||||||
host = "chat.neet.space";
|
|
||||||
};
|
|
||||||
jitsi-meet = {
|
|
||||||
enable = true;
|
|
||||||
host = "meet.neet.space";
|
|
||||||
};
|
|
||||||
turn = {
|
|
||||||
host = "turn.neet.space";
|
|
||||||
secret = "a8369a0e96922abf72494bb888c85831b";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
security.acme.acceptTerms = true;
|
security.acme.acceptTerms = true;
|
||||||
security.acme.email = "zuckerberg@neet.dev";
|
security.acme.email = "zuckerberg@neet.dev";
|
||||||
}
|
}
|
||||||
|
42
machines/nanachi/configuration.nix
Normal file
42
machines/nanachi/configuration.nix
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports =[
|
||||||
|
./hardware-configuration.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
# uxzq63kr2uuwutpaqjna2sg4gnk3p65e5bkvedzx5dsxx2mvxhjm7fid.onion
|
||||||
|
|
||||||
|
nix.flakes.enable = true;
|
||||||
|
|
||||||
|
bios = {
|
||||||
|
enable = true;
|
||||||
|
device = "/dev/vda";
|
||||||
|
};
|
||||||
|
|
||||||
|
luks = {
|
||||||
|
enable = true;
|
||||||
|
device.path = "/dev/disk/by-uuid/e57ac752-bd99-421f-a3b9-0cfa9608a54e";
|
||||||
|
};
|
||||||
|
|
||||||
|
networking.hostName = "nanachi";
|
||||||
|
|
||||||
|
networking.interfaces.ens3.useDHCP = true;
|
||||||
|
|
||||||
|
services.icecast = {
|
||||||
|
enable = true;
|
||||||
|
hostname = "nanachi.neet.dev";
|
||||||
|
mount = "stream.mp3";
|
||||||
|
fallback = "fallback.mp3";
|
||||||
|
};
|
||||||
|
|
||||||
|
security.acme.acceptTerms = true;
|
||||||
|
security.acme.email = "letsencrypt+5@tar.ninja";
|
||||||
|
|
||||||
|
services.nginx.enable = true;
|
||||||
|
services.nginx.virtualHosts."nanachi.neet.dev" = {
|
||||||
|
enableACME = true;
|
||||||
|
forceSSL = true;
|
||||||
|
root = "/var/www/tmp";
|
||||||
|
};
|
||||||
|
}
|
37
machines/nanachi/hardware-configuration.nix
Normal file
37
machines/nanachi/hardware-configuration.nix
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||||
|
# and may be overwritten by future invocations. Please make changes
|
||||||
|
# to /etc/nixos/configuration.nix instead.
|
||||||
|
{ config, lib, pkgs, modulesPath, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports =
|
||||||
|
[ (modulesPath + "/profiles/qemu-guest.nix")
|
||||||
|
];
|
||||||
|
|
||||||
|
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "sr_mod" "virtio_blk" ];
|
||||||
|
boot.initrd.kernelModules = [ "dm-snapshot" ];
|
||||||
|
boot.kernelModules = [ ];
|
||||||
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
|
fileSystems."/" =
|
||||||
|
{ device = "/dev/mapper/vg-root";
|
||||||
|
fsType = "btrfs";
|
||||||
|
options = [ "subvol=root" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/home" =
|
||||||
|
{ device = "/dev/mapper/vg-root";
|
||||||
|
fsType = "btrfs";
|
||||||
|
options = [ "subvol=home" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/boot" =
|
||||||
|
{ device = "/dev/disk/by-uuid/47b13d6a-0bbb-42a6-abd9-2b06f76d9718";
|
||||||
|
fsType = "ext3";
|
||||||
|
};
|
||||||
|
|
||||||
|
swapDevices =
|
||||||
|
[ { device = "/dev/disk/by-uuid/b7533a50-6dd2-4a64-953b-a8218e77d9fa"; }
|
||||||
|
];
|
||||||
|
|
||||||
|
}
|
@ -31,4 +31,22 @@
|
|||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.matrix = {
|
||||||
|
enable = true;
|
||||||
|
host = "neet.space";
|
||||||
|
enable_registration = false;
|
||||||
|
element-web = {
|
||||||
|
enable = true;
|
||||||
|
host = "chat.neet.space";
|
||||||
|
};
|
||||||
|
jitsi-meet = {
|
||||||
|
enable = true;
|
||||||
|
host = "meet.neet.space";
|
||||||
|
};
|
||||||
|
turn = {
|
||||||
|
host = "turn.neet.space";
|
||||||
|
secret = "a8369a0e96922abf72494bb888c85831b";
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user