feat: updoot

This commit is contained in:
Kat Inskip 2025-12-04 19:12:49 -08:00
parent 4482ec422a
commit 5686454354
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
9 changed files with 86 additions and 40 deletions

21
flake.lock generated
View file

@ -1797,6 +1797,26 @@
"type": "github"
}
},
"quickshell": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1764663772,
"narHash": "sha256-sHqLmm0wAt3PC4vczJeBozI1/f4rv9yp3IjkClHDXDs=",
"ref": "refs/heads/master",
"rev": "26531fc46ef17e9365b03770edd3fb9206fcb460",
"revCount": 713,
"type": "git",
"url": "https://git.outfoxxed.me/outfoxxed/quickshell"
},
"original": {
"type": "git",
"url": "https://git.outfoxxed.me/outfoxxed/quickshell"
}
},
"rbw-bitw": {
"inputs": {
"flakelib": [
@ -1872,6 +1892,7 @@
"norg": "norg",
"norg-meta": "norg-meta",
"nur": "nur",
"quickshell": "quickshell",
"rbw-bitw": "rbw-bitw",
"rust": "rust",
"rust-overlay": "rust-overlay",

View file

@ -162,6 +162,14 @@
flake-compat.follows = "flake-compat";
};
};
quickshell = {
# add ?ref=<tag> to track a tag
url = "git+https://git.outfoxxed.me/outfoxxed/quickshell";
# THIS IS IMPORTANT
# Mismatched system dependencies will lead to crashes and other issues.
inputs.nixpkgs.follows = "nixpkgs";
};
ucodenix.url = "github:e-tho/ucodenix";
nh = {
url = "github:nix-community/nh";

View file

@ -22,8 +22,8 @@ in {
left = [
{
id = "Workspace";
labelMode = "index+name";
characterCount = 10;
labelMode = "label";
#characterCount = 10;
}
{
id = "ActiveWindow";

View file

@ -30,7 +30,7 @@ _: {
"browser.warnOnQuit" = false;
"browser.quitShortcut.disabled" = true;
"browser.startup.homepage" = "about:blank";
"browser.contentblocking.category" = "strict";
"browser.contentblocking.category" = "standard"; # change for adnauseum: 2025-12-04
"browser.discovery.enabled" = false;
"browser.tabs.multiselect" = true;
"browser.tabs.remote.separatedMozillaDomains" = "";

View file

@ -1,42 +1,9 @@
{nur, ...}: {
programs.librewolf.profiles.main.extensions = {
packages = with nur.repos.rycee.firefox-addons; [
ublock-origin
adnauseum
];
settings = {
"uBlock@raymondhill.net".settings = {
selectedFilterLists = [
"user-filters"
"ublock-filters"
"ublock-badware"
"ublock-privacy"
"ublock-quick-fixes"
"ublock-unbreak"
"easylist"
"adguard-generic"
"adguard-mobile"
"easyprivacy"
"adguard-spyware"
"adguard-spyware-url"
"urlhaus-1"
"plowe-0"
"fanboy-cookiemonster"
"ublock-cookies-easylist"
"adguard-cookies"
"ublock-cookies-adguard"
"fanboy-social"
"adguard-social"
"easylist-chat"
"easylist-newsletters"
"easylist-notifications"
"easylist-annoyances"
"adguard-mobile-app-banners"
"adguard-other-annoyances"
"adguard-popup-overlays"
"adguard-widgets"
"ublock-annoyances"
];
};
};
};
}

View file

@ -20,6 +20,7 @@ in {
"nixd"
"zk"
"gleam"
"qmlls"
"luau_lsp"
"stylua"
];
@ -64,6 +65,7 @@ in {
bash
json
make
qml
markdown
regex
toml

48
quickshell/shell.qml Normal file
View file

@ -0,0 +1,48 @@
import Quickshell
import Quickshell.Io
import QtQuick
Scope {
id: root
property string time
Variants {
model: Quickshell.screens
PanelWindow {
required property var modelData
screen: modelData
anchors {
top: true
left: true
right: true
}
implicitHeight: 30
Text {
font.family: "M+2 Nerd Font Regular"
anchors.centerIn: parent
text: root.time
}
}
}
Process {
id: dateProc
command: ["date", "+%F %T %Z"]
running: true
stdout: StdioCollector {
onStreamFinished: root.time = this.text
}
}
Timer {
interval: 1000
running: true
repeat: true
onTriggered: dateProc.running = true
}
}

View file

@ -117,11 +117,11 @@ resource "cloudflare_record" "dork_mail_spf" {
}
resource "cloudflare_record" "dork_mail_dkim" {
name = "rinnosuke._domainkey"
name = "mail._domainkey"
proxied = false
ttl = 10800
type = "TXT"
value = "v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsfSxe5JNdrSyHoPuESnOles7KxP5NtHD60YZ7SXLANNkEb8/tSHmg4nGqLhqKrA7+gcrurjowibDYs4hAM/ozkMNch53n2ZVKRl1ExMSRAPlGl5ZNCGGYVuRQlTMGvek2tIp3GbxafGF6QWSG1sA63fI9pxGosf/qc3wX5gtHxmKB9jn1Q6d9SDuJN72StIRjl81zaJFQJswvKx5keNvbW9oOP/xBVFPbnNZq52f/MsIpo4R33Vk0CrFvj5lnEKh5t6Bx1XUpJnkzQE934h+x1B+ypLkAPpLw4VnbDBMNc/ZkGbfJuM9YsasoEYgeoAtWKkyJV2WKZfppo1pUtR7swIDAQAB"
value = "v=DKIM1; k=rsa; s=email; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsfSxe5JNdrSyHoPuESnOles7KxP5NtHD60YZ7SXLANNkEb8/tSHmg4nGqLhqKrA7+gcrurjowibDYs4hAM/ozkMNch53n2ZVKRl1ExMSRAPlGl5ZNCGGYVuRQlTMGvek2tIp3GbxafGF6QWSG1sA63fI9pxGosf/qc3wX5gtHxmKB9jn1Q6d9SDuJN72StIRjl81zaJFQJswvKx5keNvbW9oOP/xBVFPbnNZq52f/MsIpo4R33Vk0CrFvj5lnEKh5t6Bx1XUpJnkzQE934h+x1B+ypLkAPpLw4VnbDBMNc/ZkGbfJuM9YsasoEYgeoAtWKkyJV2WKZfppo1pUtR7swIDAQAB"
zone_id = local.zone_ids.dork
}

File diff suppressed because one or more lines are too long