fixes in services
This commit is contained in:
parent
b18938a243
commit
3b4e092bd2
|
@ -19,6 +19,9 @@
|
|||
timeout = 0;
|
||||
};
|
||||
|
||||
# Enable microcode updates
|
||||
hardware.enableRedistributableFirmware = true;
|
||||
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableGlobalCompInit = true;
|
||||
|
@ -35,13 +38,14 @@
|
|||
];
|
||||
|
||||
environment.variables = {
|
||||
EDITOR = "vim";
|
||||
EDITOR = "vim"; # FUCK NANO
|
||||
};
|
||||
|
||||
time.timeZone = "Europe/Copenhagen";
|
||||
|
||||
security.sudo = {
|
||||
enable = true;
|
||||
# I know what im doing
|
||||
extraConfig = ''
|
||||
Defaults lecture = never
|
||||
'';
|
||||
|
|
|
@ -8,12 +8,11 @@ in {
|
|||
}}/nextcloud-extras.nix"
|
||||
];
|
||||
|
||||
environment.etc."nextcloud-admin-pass".text = "supersecretpassword";
|
||||
services.nextcloud = {
|
||||
enable = true;
|
||||
package = nextcloud-pkg;
|
||||
hostName = "localhost";
|
||||
config.adminpassFile = "/etc/nextcloud-admin-pass";
|
||||
config.adminpassFile = "/var/lib/db/nextcloud/admin-password";
|
||||
config.dbtype = "sqlite";
|
||||
webserver = "caddy";
|
||||
};
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
{ config, ... }:
|
||||
let
|
||||
{config, ...}: let
|
||||
host = "127.0.0.1";
|
||||
port = 8222;
|
||||
in
|
||||
{
|
||||
in {
|
||||
services.vaultwarden = {
|
||||
enable = true;
|
||||
|
||||
|
@ -24,8 +22,8 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ port ];
|
||||
networking.firewall.allowedUDPPorts = [ port ];
|
||||
networking.firewall.allowedTCPPorts = [port];
|
||||
networking.firewall.allowedUDPPorts = [port];
|
||||
|
||||
services.nginx.virtualHosts."bitwarden.spoodythe.one" = {
|
||||
enableACME = true;
|
||||
|
|
Loading…
Reference in a new issue