Signed-off-by: Alex Stan <alex.stan.2010@proton.me>
This commit is contained in:
Alex Stan 2024-11-11 11:26:38 +02:00
parent 7a71af71e7
commit 12f52e1bf3
5 changed files with 5789 additions and 6 deletions

View file

@ -113,7 +113,7 @@ in {
# Enable sound with pipewire. # Enable sound with pipewire.
sound.enable = true; # sound.enable = true;
hardware.pulseaudio.enable = false; hardware.pulseaudio.enable = false;
security.rtkit.enable = true; security.rtkit.enable = true;
services.pipewire = { services.pipewire = {
@ -192,6 +192,12 @@ in {
variables = { variables = {
NIX_AUTO_RUN = "!"; NIX_AUTO_RUN = "!";
}; };
shells = with pkgs; [
bashInteractive
zsh
fish
/run/current-system/sw/bin/nologin
];
}; };
programs = { programs = {
dconf.enable = true; dconf.enable = true;
@ -345,7 +351,7 @@ in {
anonymousUserNoPassword = true; anonymousUserNoPassword = true;
anonymousUploadEnable = false; # Anyone uploading files wouldn't be so secure, would it? anonymousUploadEnable = false; # Anyone uploading files wouldn't be so secure, would it?
anonymousMkdirEnable = false; # Neither would them creating directories. anonymousMkdirEnable = false; # Neither would them creating directories.
writeEnable = false; writeEnable = true;
}; };
snowflake-proxy.enable = true; snowflake-proxy.enable = true;

View file

@ -14,6 +14,7 @@ inputs: { config, pkgs, lib, ... }: {
powerManagement.enable = true; powerManagement.enable = true;
#open = true; #open = true;
nvidiaSettings = true; nvidiaSettings = true;
open = true;
}; };
}; };
boot = { boot = {

View file

@ -1,7 +1,7 @@
services: services:
web: web:
# image: git.joinsharkey.org/sharkey/sharkey:latest # - VULNERABLE # image: git.joinsharkey.org/sharkey/sharkey:latest # - VULNERABLE
image: registry.activitypub.software/transfem-org/sharkey:develop image: registry.activitypub.software/transfem-org/sharkey:2024.8.2
# image: ghcr.io/transfem-org/sharkey:stable # image: ghcr.io/transfem-org/sharkey:stable
# build: . # build: .
restart: always restart: always

File diff suppressed because it is too large Load diff

View file

@ -1,7 +1,7 @@
inputs: { pkgs, config, ... }: { inputs: { pkgs, config, ... }: {
services.nextcloud = { services.nextcloud = {
enable = true; enable = true;
package = pkgs.nextcloud27; package = pkgs.nextcloud30;
hostName = "localhost"; hostName = "localhost";
config = { config = {
adminpassFile = "/var/keys/nextcloud_initial_password"; adminpassFile = "/var/keys/nextcloud_initial_password";
@ -10,8 +10,8 @@ inputs: { pkgs, config, ... }: {
]; ];
overwriteProtocol = "https"; overwriteProtocol = "https";
}; };
extraApps = with config.services.nextcloud.package.packages.apps; { extraApps = with pkgs.nextcloud30Packages.apps; {
inherit news files_markdown files_texteditor forms maps memories music onlyoffice polls calendar tasks contacts; inherit (pkgs.nextcloud30Packages.apps) memories music onlyoffice polls calendar tasks contacts;
}; };
/* /*
extraOptions = { extraOptions = {