4 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
fda44a9cc8 Add mp3val to monolith 2024-12-23 12:27:55 -08:00
4 changed files with 33 additions and 7 deletions

View File

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

View File

@@ -6,6 +6,7 @@
self.nixosModules.server
self.nixosModules.zerotier
./dns.nix
./vault.nix
];
networking = {
@@ -49,6 +50,7 @@
gcc
(callPackage ../marauder/ffcheck.nix { })
htop
mp3val
];
services.jellyfin = {

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.