Deployment and lifecycle management for Nix
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

server: compile time mime config and fix init secrets

+9
+5
nix/nixos-server.nix
··· 92 92 ${lib.getExe pkgs.pwgen} --capitalize --secure 64 1 | ${pkgs.coreutils}/bin/tr -d '\n' > /var/lib/sower/secret-key-base 93 93 fi 94 94 ''; 95 + 96 + DynamicUser = true; 97 + StateDirectory = "sower"; 98 + User = "sower"; 99 + Group = "sower"; 95 100 }; 96 101 }; 97 102 };
+4
nix/server-package.nix
··· 28 28 esbuild = prev.esbuild.override (old: { 29 29 patches = [ ./esbuild-loadpaths.patch ]; 30 30 }); 31 + mime = prev.mime.override { 32 + # mime config needs to be added at compile time 33 + appConfigPath = ../config; 34 + }; 31 35 tailwind = prev.tailwind.override (old: { 32 36 patches = [ ./tailwind-loadpaths.patch ]; 33 37 });