mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 18:15:13 -05:00
feat: added themes and other stuff
This commit is contained in:
parent
951928150e
commit
c7b32f0f31
18 changed files with 248 additions and 61 deletions
|
@ -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";
|
||||
|
|
|
@ -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
|
||||
;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
backupFileExtension = "backup";
|
||||
backupFileExtension = "backup2";
|
||||
extraSpecialArgs = {
|
||||
inherit flake;
|
||||
};
|
||||
|
|
|
@ -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}
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue