add stevenblack blocklist

This commit is contained in:
tristan 2024-03-05 20:34:12 +00:00
commit 4ea85b9368
5 changed files with 23 additions and 11 deletions

View file

@ -1,4 +1,7 @@
{pkgs, config, ...}: { {
pkgs,
...
}: {
home.packages = with pkgs; [ home.packages = with pkgs; [
monado monado
]; ];
@ -26,5 +29,4 @@
# } # }
# ''; # '';
# }; # };
} }

View file

@ -68,8 +68,17 @@ in {
datadirectory = "/mnt/storage/nextcloud"; datadirectory = "/mnt/storage/nextcloud";
}; };
extraApps = { extraApps = {
inherit (config.services.nextcloud.package.packages.apps) inherit
contacts calendar mail gpoddersync memories notes maps previewgenerator; (config.services.nextcloud.package.packages.apps)
contacts
calendar
mail
gpoddersync
memories
notes
maps
previewgenerator
;
oidc_login = pkgs.fetchNextcloudApp { oidc_login = pkgs.fetchNextcloudApp {
sha256 = "sha256-cN5azlThKPKRVip14yfUNR85of5z+N6NVI7sg6pSGQI="; sha256 = "sha256-cN5azlThKPKRVip14yfUNR85of5z+N6NVI7sg6pSGQI=";
url = "https://github.com/pulsejet/nextcloud-oidc-login/releases/download/v3.0.2/oidc_login.tar.gz"; url = "https://github.com/pulsejet/nextcloud-oidc-login/releases/download/v3.0.2/oidc_login.tar.gz";

View file

@ -1,12 +1,8 @@
{ {
inputs, inputs,
config,
pkgs, pkgs,
lib,
... ...
}: let }: {
user = config.user;
in {
imports = [ imports = [
inputs.stylix.nixosModules.stylix inputs.stylix.nixosModules.stylix
]; ];
@ -58,6 +54,11 @@ in {
hardware.bluetooth.enable = true; hardware.bluetooth.enable = true;
services.blueman.enable = true; services.blueman.enable = true;
networking.stevenblack = {
enable = true;
block = ["porn" "gambling"];
};
stylix = { stylix = {
image = ../images/nix-soft.png; image = ../images/nix-soft.png;
base16Scheme = "${pkgs.base16-schemes}/share/themes/onedark.yaml"; base16Scheme = "${pkgs.base16-schemes}/share/themes/onedark.yaml";