Compare commits

..
10 Commits
Author SHA1 Message Date
Rob 029d11db9c nextcloud: switch to forceSSL 2024-08-01 07:35:56 +00:00
Rob 2f280c40e0 add lego for lets encrypt 2024-08-01 07:15:25 +00:00
Rob 86b085e342 remove gitea service (has not worked at all) 2024-08-01 07:14:31 +00:00
Rob b093d85739 notwendige changes nach upgrade auf nixos 24.05 2024-07-19 19:18:05 +00:00
Rob 2f7e6ebc4d add gitea 2024-06-17 06:41:06 +00:00
Rob b4e82ce3ce add gitea 2024-06-17 06:34:09 +00:00
Rob f5b631e5e2 activate nextcloud logfile 2024-06-17 06:32:01 +00:00
Rob 83a36410e3 add deck and money repo to nextcloud 2024-06-13 13:32:47 +00:00
Rob 4e4796e942 add some root programs 2024-06-05 07:16:25 +00:00
Rob 9b9a0c33c3 add nextcloud with htts via tailscale/acme-LetsEncrypt 2024-06-05 07:06:45 +00:00
3 changed files with 69 additions and 13 deletions

No files matched your search

+14 -11
View File
@@ -12,15 +12,20 @@
./hardware-configuration.nix ./hardware-configuration.nix
# meine module # meine module
./modules/cron.nix modules/tmux.nix
./modules/users.nix modules/cron.nix
./modules/storage.nix modules/users.nix
./modules/root-programs.nix modules/storage.nix
./modules/smb.nix modules/root-programs.nix
./modules/tailscale.nix modules/smb.nix
./modules/tmux.nix modules/tailscale.nix
# ./modules/minetest-server.nix
# ./modules/wifi.nix ## noch kein device gefunden das geht. das kleine dwa-171 geht nicht #Server
modules/nextcloud.nix
# modules/minetest-server.nix
#Hardware
# modules/wifi.nix ## noch kein device gefunden das geht. das kleine dwa-171 geht nicht
]; ];
# Use the GRUB 2 boot loader. # Use the GRUB 2 boot loader.
@@ -32,8 +37,6 @@
# boot.loader.grub.device = "/dev/disk/by-label/nixos"; #"/dev/sda"; # or "nodev" for efi only # boot.loader.grub.device = "/dev/disk/by-label/nixos"; #"/dev/sda"; # or "nodev" for efi only
boot.loader.grub.device = "/dev/disk/by-id/ata-TOSHIBA_MK5061GSY_3273P0RAT"; boot.loader.grub.device = "/dev/disk/by-id/ata-TOSHIBA_MK5061GSY_3273P0RAT";
networking.hostName = "bfds"; # Define your hostname. networking.hostName = "bfds"; # Define your hostname.
# Pick only one of the below networking options. # Pick only one of the below networking options.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
+44
View File
@@ -0,0 +1,44 @@
{ pkgs, ... }:
{
services.nextcloud = {
package = pkgs.nextcloud29;
enable = true;
hostName = "bfds.taila388c.ts.net";
settings.trusted_domains = [ "bfds" "bfds.local" ];
settings.log_Type = "file";
database.createLocally = true;
config = {
dbtype = "pgsql";
adminpassFile = "/var/lib/nextcloud-pass-files/nc-admin-password";
};
extraApps = {
inherit (pkgs.nextcloud29Packages.apps)
cookbook notes deck;
money = pkgs.fetchNextcloudApp {
#get the hash via: $ nix-prefetch-url --unpack <app zip url>
sha256 = "13lwpq75ihz9lfq383bi86lqvzcir8aqqhf56zs7fsayqh32l2r4";
url = "https://github.com/powerpaul17/nc_money/releases/download/v0.26.6/money.tar.gz";
license = "gpl3";
};
};
extraAppsEnable = true;
https = true;
};
services.nginx.virtualHosts."bfds.taila388c.ts.net" = {
# addSSL = true;
forceSSL = true;
enableACME = true;
};
security.acme = {
acceptTerms = true;
defaults.email = "rw@boogiedev.net";
certs = {
"bfds.taila388c.ts.net".email = "rw@boogiedev.net";
};
};
networking.firewall.allowedTCPPorts = [ 80 443 ];
}
+11 -2
View File
@@ -7,14 +7,23 @@
usbutils usbutils
wget wget
nano nano
git git
tig
mc mc
ncdu ncdu
parted parted
gpart gpart
tmux tmux
hdparm hdparm
unzip
python3 #coding
python3
#network
dig
#lets encrypt
lego
]; ];
} }