3 Commits

Author SHA1 Message Date
99174d9bac Setup vaultwarden on monolith 2024-12-26 22:28:21 -08:00
362cd11703 Add Orca Slicer to marauder 2024-12-26 17:18:20 -08:00
bc32bb44de Update hardware settings on marauder 2024-12-26 17:18:03 -08:00
4 changed files with 32 additions and 7 deletions

View File

@@ -48,12 +48,14 @@
hardware = { hardware = {
enableRedistributableFirmware = true; enableRedistributableFirmware = true;
cpu.amd.updateMicrocode = true; cpu.amd.updateMicrocode = true;
opengl = { graphics = {
enable = true; enable = true;
driSupport32Bit = true; driSupport32Bit = true;
extraPackages = [ pkgs.vaapiVdpau ]; extraPackages = [ pkgs.vaapiVdpau ];
}; };
nvidia.prime = { nvidia = {
open = true;
prime = {
offload = { offload = {
enable = true; enable = true;
enableOffloadCmd = true; enableOffloadCmd = true;
@@ -62,6 +64,7 @@
nvidiaBusId = "PCI:01:00:0"; nvidiaBusId = "PCI:01:00:0";
}; };
}; };
};
environment = { environment = {
systemPackages = [ systemPackages = [
@@ -83,6 +86,7 @@
krita krita
openscad-unstable openscad-unstable
bambu-studio bambu-studio
orca-slicer
# Multimedia # Multimedia
vlc vlc

View File

@@ -6,6 +6,7 @@
self.nixosModules.server self.nixosModules.server
self.nixosModules.zerotier self.nixosModules.zerotier
./dns.nix ./dns.nix
./vault.nix
]; ];
networking = { networking = {

20
hosts/monolith/vault.nix Normal file
View File

@@ -0,0 +1,20 @@
{ secrets, ... }:
{
services.vaultwarden = {
enable = true;
config = {
domain = "https://vault.leaf.ninja";
signupsAllowed = false;
rocketAddress = "0.0.0.0";
rocketPort = 8222;
smtpHost = "smtp.migadu.com";
smtpFrom = "vaultwarden@leaf.ninja";
smtpPort = 587;
smtpSecurity = "starttls";
smtpUsername = "vaultwarden@leaf.ninja";
smtpPassword = secrets.vaultwarden.smtpPassword;
};
};
networking.firewall.allowedTCPPorts = [ 8222 ];
}

Binary file not shown.