push
This commit is contained in:
@@ -25,6 +25,9 @@
|
||||
};
|
||||
|
||||
folders = {
|
||||
"Archives" = mkFolder "/home/bug/Archives";
|
||||
"Software" = mkFolder "/home/bug/Software";
|
||||
"Scripts" = mkFolder "/home/bug/Scripts";
|
||||
"Documents" = mkFolder "/home/bug/Documents";
|
||||
"Downloads" = mkFolder "/home/bug/Downloads";
|
||||
"Pictures" = mkFolder "/home/bug/Pictures";
|
||||
|
||||
@@ -1 +1,41 @@
|
||||
{}
|
||||
{
|
||||
den.aspects.crab-hole = {
|
||||
nixos = { ... }: {
|
||||
services.crab-hole = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
blocklist = {
|
||||
include_subdomains = true;
|
||||
lists = [
|
||||
"https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts"
|
||||
"https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt"
|
||||
];
|
||||
};
|
||||
|
||||
downstream = [
|
||||
{ protocol = "udp"; listen = "127.0.0.1"; port = 53; }
|
||||
{ protocol = "udp"; listen = "::1"; port = 53; }
|
||||
];
|
||||
|
||||
upstream = {
|
||||
name_servers = [
|
||||
{
|
||||
socket_addr = "1.1.1.1:853";
|
||||
protocol = "tls";
|
||||
tls_dns_name = "1dot1dot1dot1.cloudflare-dns.com";
|
||||
trust_nx_responses = false;
|
||||
}
|
||||
{
|
||||
socket_addr = "[2606:4700:4700::1111]:853";
|
||||
protocol = "tls";
|
||||
tls_dns_name = "1dot1dot1dot1.cloudflare-dns.com";
|
||||
trust_nx_responses = false;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,10 +1,15 @@
|
||||
{
|
||||
den.aspects.dns = {
|
||||
nixos = {
|
||||
nixos = { config, lib, ... }: {
|
||||
networking = {
|
||||
networkmanager.enable = true;
|
||||
networkmanager = {
|
||||
enable = true;
|
||||
dns = lib.mkIf config.services.crab-hole.enable "none";
|
||||
};
|
||||
|
||||
nameservers = [ "1.1.1.1" "1.0.0.1" ];
|
||||
nameservers = if config.services.crab-hole.enable
|
||||
then [ "127.0.0.1" "::1" ]
|
||||
else [ "1.1.1.1" "1.0.0.1" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -3,6 +3,7 @@ let
|
||||
isNormalUser = true;
|
||||
description = "bug";
|
||||
extraGroups = [ "networkmanager" "wheel" "audio" "video" "libvirtd" "ydotool" "dialout" ];
|
||||
classes = [ "homeManager" ];
|
||||
};
|
||||
in {
|
||||
den.hosts.x86_64-linux = {
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
searxng
|
||||
copyparty
|
||||
glances
|
||||
# invidious
|
||||
invidious
|
||||
mailserver
|
||||
# matrix
|
||||
redlib
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
music
|
||||
social
|
||||
gaming
|
||||
|
||||
crab-hole
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
{ den, ... }: {
|
||||
den.default = {
|
||||
includes = with den.aspects; [
|
||||
den.provides.home-manager
|
||||
|
||||
boot
|
||||
security
|
||||
locale
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ den, ... }: {
|
||||
den.aspects.gitea = {
|
||||
includes = [ den.aspects.gitea-mirrors ];
|
||||
# includes = [ den.aspects.gitea-mirrors ];
|
||||
|
||||
nixos = { config, ... }: {
|
||||
den.tunnels = [ "git" ];
|
||||
@@ -11,11 +11,12 @@
|
||||
database.type = "mysql";
|
||||
|
||||
settings.service = {
|
||||
DISABLE_REGISTRATION = true;
|
||||
DISABLE_REGISTRATION = false;
|
||||
};
|
||||
|
||||
settings.server.HTTP_PORT = config.den.portmap.git;
|
||||
|
||||
/*
|
||||
mirrors = {
|
||||
admin = {
|
||||
user = "admin";
|
||||
@@ -35,6 +36,7 @@
|
||||
{ owner = "vic"; platform = "github"; }
|
||||
];
|
||||
};
|
||||
*/
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
imports = [
|
||||
(fetchTarball {
|
||||
url = "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/archive/master.tar.gz";
|
||||
sha256 = "0rm5f749xakmkqrpkl5ay1pydbnlinr50pvwg1vm795js2infmj5";
|
||||
sha256 = "1n5yxya54mdsjmdix0pjzlqbk49jqf0gfhmgqc3lywxifrdi6k0q";
|
||||
})
|
||||
];
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
options.den.portmap = lib.mkOption {
|
||||
type = lib.types.attrsOf lib.types.port;
|
||||
default = {};
|
||||
description = "ports.";
|
||||
description = "ports";
|
||||
};
|
||||
|
||||
config.den.portmap = {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ inputs, ... }: {
|
||||
{ inputs, lib, ... }: {
|
||||
den.aspects.librewolf = {
|
||||
homeManager = { pkgs, ... }: {
|
||||
programs.librewolf = {
|
||||
@@ -161,40 +161,43 @@
|
||||
|
||||
DisablePocket = true;
|
||||
|
||||
# DisableFirefoxAccounts = true;
|
||||
DisableFirefoxAccounts = false;
|
||||
|
||||
ExtensionSettings = let
|
||||
extension = slug: {
|
||||
install_url = "https://addons.mozilla.org/firefox/downloads/latest/${slug}/latest.xpi";
|
||||
mkExtensions = ids: lib.genAttrs ids (id: {
|
||||
install_url = "https://addons.mozilla.org/firefox/downloads/latest/${id}/latest.xpi";
|
||||
installation_mode = "force_installed";
|
||||
private_browsing = true;
|
||||
};
|
||||
in
|
||||
{
|
||||
});
|
||||
in {
|
||||
"*".installation_mode = "blocked";
|
||||
} // (mkExtensions [
|
||||
"{cb31ec5d-c49a-4e5a-b240-16c767444f62}" # indie-wiki-buddy
|
||||
|
||||
"{1b66b5ad-408f-4300-aac6-55a68b2b24ff}" = extension "catppuccin-mocha-no-borders";
|
||||
"{1b66b5ad-408f-4300-aac6-55a68b2b24ff}" # catppuccin-mocha-no-borders
|
||||
|
||||
"{bbb880ce-43c9-47ae-b746-c3e0096c5b76}" = extension "catppuccin-web-file-icons";
|
||||
"{1b66b5ad-408f-4300-aac6-55a68b2b24ff}" # catppuccin-mocha-no-borders
|
||||
|
||||
"{60f82f00-9ad5-4de5-b31c-b16a47c51558}" = extension "cookie-quick-manager";
|
||||
"{7a7a4a92-a2a0-41d1-9fd7-1e92480d612d}" # styl-us
|
||||
|
||||
"{88ebde3a-4581-4c6b-8019-2a05a9e3e938}" = extension "hide-youtube-shorts";
|
||||
"{60f82f00-9ad5-4de5-b31c-b16a47c51558}" # cookie-quick-manager
|
||||
|
||||
"{7a7a4a92-a2a0-41d1-9fd7-1e92480d612d}" = extension "styl-us";
|
||||
"{88ebde3a-4581-4c6b-8019-2a05a9e3e938}" # hide-youtube-shorts
|
||||
|
||||
# "firefox@tampermonkey.net" = extension "tampermonkey";
|
||||
"firefox@tampermonkey.net" # tampermonkey
|
||||
|
||||
"deArrow@ajay.app" = extension "dearrow";
|
||||
"deArrow@ajay.app" # dearrow
|
||||
|
||||
"sponsorBlocker@ajay.app" = extension "sponsorblock";
|
||||
"sponsorBlocker@ajay.app" # sponsorblock
|
||||
|
||||
"uBlock0@raymondhill.net" = extension "ublock-origin";
|
||||
"uBlock0@raymondhill.net" # ublock-origin
|
||||
|
||||
# lesspass
|
||||
# user agent switcher
|
||||
# return youtube dislike
|
||||
};
|
||||
"contact@lesspass.com" # lesspass
|
||||
|
||||
"{a6c4a591-f1b2-4f03-b3ff-767e5bedf4e7}" # user-agent-string-switcher
|
||||
|
||||
"{762f9885-5a13-4abd-9c77-433dcd38b8fd}" # return-youtube-dislikes
|
||||
]);
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
nixos = { pkgs, ... }: {
|
||||
users.users.bug.packages = with pkgs; [
|
||||
zed-editor
|
||||
vscode
|
||||
arduino-ide
|
||||
];
|
||||
};
|
||||
|
||||
3
modules/software/gaming/star-citizen.nix
Normal file
3
modules/software/gaming/star-citizen.nix
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
|
||||
}
|
||||
@@ -14,7 +14,7 @@
|
||||
"Videos/Downloads" = [ "mp4" "mkv" "mov" "webm" "avi" "flv" ];
|
||||
"Music/Downloads" = [ "mp3" "flac" "wav" "ogg" "m4a" "opus" ];
|
||||
"Documents/Downloads" = [ "pdf" "doc" "docx" "odt" "txt" "md" "epub" "ppt" "pptx" "xls" "xlsx" "csv" ];
|
||||
"Archives/Downloads" = [ "iso" "zip" "tar" "gz" "bz2" "xz" "rar" "7z" ];
|
||||
"Archives/Downloads" = [ "iso" "zip" "tar" "gz" "bz2" "xz" "rar" "7z" "wsz" ];
|
||||
"Fonts/Downloads" = [ "ttf" "otf" "woff" "woff2" ];
|
||||
"3D/Downloads" = [ "blend" "obj" "fbx" "stl" "dae" "3ds" "3mf" ];
|
||||
"Software/Downloads" = [ "deb" "rpm" "appimage" "jar" "exe" "msi" "flatpak" ];
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user