feat: added themes and other stuff

This commit is contained in:
Nick 2024-12-19 19:56:45 -06:00
parent 951928150e
commit c7b32f0f31
18 changed files with 248 additions and 61 deletions

View file

@ -13,7 +13,7 @@
};
variables = {
VIDEO_PLAYER = "vlc";
EDITOR = "nano";
EDITOR = "hx";
WLR_NO_HARDWARE_CURSORS = "1";
WLR_DRM_NO_ATOMIC = "1";
NIXPKGS_ALLOW_INSECURE = "1";

View file

@ -1,11 +1,26 @@
{pkgs, ...}: {
fonts = {
fontconfig.defaultFonts.emoji = ["Noto Fonts Color Emoji"];
fontconfig = {
enable = true;
defaultFonts = {
# serif = [];
# monospace = [];
# sansSerif = [];
emoji = ["Noto Fonts Color Emoji"];
};
antialias = true;
};
packages = builtins.attrValues {
inherit
(pkgs)
noto-fonts-color-emoji
open-dyslexic
;
inherit
(pkgs.nerd-fonts)
jetbrains-mono
droid-sans-mono
victor-mono
monaspace
;
};
};

View file

@ -2,7 +2,7 @@
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
backupFileExtension = "backup";
backupFileExtension = "backup2";
extraSpecialArgs = {
inherit flake;
};

View file

@ -14,12 +14,23 @@ in {
virtualHosts = {
"${host}" = {
extraConfig = ''
redir /.well-known/carddav /remote.php/dav/ 301
redir /.well-known/caldav /remote.php/dav/ 301
reverse_proxy ${localhost}:${toString service.ports.port1}
root * /var/lib/website
tls ${service.ssl.cert} ${service.ssl.key}
file_server
try_files {path} /index.html
encode gzip
header {
# Disable FLoC tracking
Permissions-Policy interest-cohort=()
# Enable HSTS
Strict-Transport-Security "max-age=31536000; includeSubDomains"
# Prevent MIME-type sniffing
X-Content-Type-Options nosniff
tls ${service.ssl.cert} ${service.ssl.key}
'';
};
};