minidlna disabled

This commit is contained in:
2024-09-22 14:41:57 -06:00
parent 2146eb0e51
commit dd00fb4854
2 changed files with 91 additions and 71 deletions

View File

@@ -1,5 +1,10 @@
{ ... }: {
imports = [ ./hardware-configuration.nix ../../base.nix ./temp-nginx.nix ];
{ ... }:
{
imports = [
./hardware-configuration.nix
../../base.nix
./temp-nginx.nix
];
my = {
emacs.enable = true;
apps.dictionaries.enable = true;
@@ -73,27 +78,31 @@
allowedUDPPorts = [ 2049 ];
};
};
nix = let
featuresList = [
"nixos-test"
"benchmark"
"big-parallel"
"kvm"
"gccarch-znver3"
"gccarch-skylake"
"gccarch-alderlake"
];
in {
settings.cores = 3;
buildMachines = [{
hostName = "workstation";
system = "x86_64-linux";
sshUser = "nixremote";
maxJobs = 14;
speedFactor = 1;
supportedFeatures = featuresList;
}];
};
nix =
let
featuresList = [
"nixos-test"
"benchmark"
"big-parallel"
"kvm"
"gccarch-znver3"
"gccarch-skylake"
"gccarch-alderlake"
];
in
{
settings.cores = 3;
buildMachines = [
{
hostName = "workstation";
system = "x86_64-linux";
sshUser = "nixremote";
maxJobs = 14;
speedFactor = 1;
supportedFeatures = featuresList;
}
];
};
nixpkgs = {
config.permittedInsecurePackages = [ "openssl-1.1.1w" ];
hostPlatform = "x86_64-linux";
@@ -105,8 +114,7 @@
createHome = true;
group = "nixremote";
home = "/var/nixremote/";
openssh.authorizedKeys.keys =
[ (builtins.readFile ../../secrets/ssh/ed25519_nixworkstation.pub) ];
openssh.authorizedKeys.keys = [ (builtins.readFile ../../secrets/ssh/ed25519_nixworkstation.pub) ];
};
};
services = {
@@ -115,7 +123,7 @@
fileSystems = [ "/" ];
};
minidlna = {
enable = true;
enable = false;
openFirewall = true;
settings = {
inotify = "yes";