server
This commit is contained in:
@@ -67,6 +67,8 @@
|
|||||||
inherit inputs;
|
inherit inputs;
|
||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
|
inputs.catppuccin.nixosModules.catppuccin
|
||||||
|
|
||||||
# lil hack to not use --impure when rebuilding nixos >:3
|
# lil hack to not use --impure when rebuilding nixos >:3
|
||||||
"/etc/nixos/hardware-configuration.nix"
|
"/etc/nixos/hardware-configuration.nix"
|
||||||
|
|
||||||
|
|||||||
@@ -1,11 +1,15 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./modules/atproto-pds.nix
|
./modules/atproto-pds.nix
|
||||||
|
../../modules/nixos/bootloader.nix
|
||||||
|
../../modules/nixos/network.nix
|
||||||
|
../../modules/nixos/hardware.nix
|
||||||
|
../../modules/nixos/nixpkgs.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = lib.mkForce true;
|
||||||
|
|
||||||
users.users.ocbwoy3 = {
|
users.users.ocbwoy3 = {
|
||||||
initialPassword = "thisisapassword42069!"; # not the type passwords i use
|
initialPassword = "thisisapassword42069!"; # not the type passwords i use
|
||||||
@@ -19,7 +23,7 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
allowedTCPPorts = [ 22 443 8080 25565 ];
|
allowedTCPPorts = [ 22 443 8080 25565 ];
|
||||||
allowedUDPPorts = [ ];
|
allowedUDPPorts = [ ];
|
||||||
}
|
};
|
||||||
|
|
||||||
catppuccin = {
|
catppuccin = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
@@ -12,14 +12,14 @@
|
|||||||
environmentFiles = [ "/private/atproto-pds.env" ];
|
environmentFiles = [ "/private/atproto-pds.env" ];
|
||||||
settings = {
|
settings = {
|
||||||
PDS_CRAWLERS = "https://bsky.network";
|
PDS_CRAWLERS = "https://bsky.network";
|
||||||
LOG_ENABLED = true;
|
LOG_ENABLED = "true";
|
||||||
PDS_HOSTNAME = "pds.darktru.win";
|
PDS_HOSTNAME = "pds.darktru.win";
|
||||||
PDS_VERSION = "I'm an ATProto PDS!";
|
PDS_VERSION = "I'm an ATProto PDS!";
|
||||||
PDS_DID_PLC_URL = "https://plc.directory";
|
PDS_DID_PLC_URL = "https://plc.directory";
|
||||||
PDS_CONTACT_EMAIL_ADDRESS = "ocbwoy3@ocbwoy3.dev";
|
PDS_CONTACT_EMAIL_ADDRESS = "ocbwoy3@ocbwoy3.dev";
|
||||||
PDS_PRIVACY_POLICY_URL = "https://ocbwoy3.dev";
|
PDS_PRIVACY_POLICY_URL = "https://ocbwoy3.dev";
|
||||||
PDS_TERMS_OF_SERVICE_URL = "https://discord.gg/cQDvPtv3Dt";
|
PDS_TERMS_OF_SERVICE_URL = "https://discord.gg/cQDvPtv3Dt";
|
||||||
PDS_ACCEPTING_REPO_IMPORTS = true;
|
PDS_ACCEPTING_REPO_IMPORTS = "true";
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -45,6 +45,6 @@
|
|||||||
# systemd.services."getty@tty5".enable = false;
|
# systemd.services."getty@tty5".enable = false;
|
||||||
# systemd.services."getty@tty6".enable = false;
|
# systemd.services."getty@tty6".enable = false;
|
||||||
|
|
||||||
system.stateVersion = "24.11";
|
system.stateVersion = lib.mkDefault "24.11";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user