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

@ -18,7 +18,7 @@
outputs = inputs: let outputs = inputs: let
system = "x86_64-linux"; system = "x86_64-linux";
pkgs = import inputs.nixpkgs { inherit system; }; pkgs = import inputs.nixpkgs {inherit system;};
user = "tristan"; user = "tristan";
userFullname = "Tristan Beedell"; userFullname = "Tristan Beedell";
auto-login = import ./nixos/programs/auto-login.nix; auto-login = import ./nixos/programs/auto-login.nix;

View file

@ -184,7 +184,7 @@ in {
device { device {
name = zsa-technology-labs-moonlander-mark-i name = zsa-technology-labs-moonlander-mark-i
kb_variant = kb_variant =
kb_options = esperanto:qwerty,lv3:ralt_switch kb_options = esperanto:qwerty,lv3:ralt_switch
} }
''; '';

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";