idkkkk
This commit is contained in:
2025-06-25 18:00:33 -06:00
parent 300e25e6f1
commit 4741124563
14 changed files with 114 additions and 35 deletions

46
flake.lock generated
View File

@@ -490,11 +490,11 @@
"xwayland-satellite-unstable": "xwayland-satellite-unstable" "xwayland-satellite-unstable": "xwayland-satellite-unstable"
}, },
"locked": { "locked": {
"lastModified": 1749801447, "lastModified": 1750847367,
"narHash": "sha256-cfrRFN9j340Wlgwe3k2oWB/0LI63JyUZab7apN72xd8=", "narHash": "sha256-BQzKA0b7B73PRwgQLEs37w1YhLdCm49GB2RhR0Xjt0Y=",
"owner": "sodiboo", "owner": "sodiboo",
"repo": "niri-flake", "repo": "niri-flake",
"rev": "fba861e81d6fe8c0a8ba9fb2ed8d5e6df4a6ad78", "rev": "bde02c6f392a7bfd487352a537183ebf2da7f53b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -506,16 +506,16 @@
"niri-stable": { "niri-stable": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1740117926, "lastModified": 1748151941,
"narHash": "sha256-mTTHA0RAaQcdYe+9A3Jx77cmmyLFHmRoZdd8RpWa+m8=", "narHash": "sha256-z4viQZLgC2bIJ3VrzQnR+q2F3gAOEQpU1H5xHtX/2fs=",
"owner": "YaLTeR", "owner": "YaLTeR",
"repo": "niri", "repo": "niri",
"rev": "b94a5db8790339cf9134873d8b490be69e02ac71", "rev": "8ba57fcf25d2fc9565131684a839d58703f1dae7",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "YaLTeR", "owner": "YaLTeR",
"ref": "v25.02", "ref": "v25.05.1",
"repo": "niri", "repo": "niri",
"type": "github" "type": "github"
} }
@@ -523,11 +523,11 @@
"niri-unstable": { "niri-unstable": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1749797708, "lastModified": 1750791124,
"narHash": "sha256-P5x0U6AW5Zn20bARv4D83d8XlNaWK1st9QwBfSe+Vfg=", "narHash": "sha256-F5iVU/hjoSHSSe0gllxm0PcAaseEtGNanYK5Ha3k2Tg=",
"owner": "YaLTeR", "owner": "YaLTeR",
"repo": "niri", "repo": "niri",
"rev": "f3f6e79eeca8924ff9cfea4b30006e5b782bc93e", "rev": "37458d94b288945f6cfbd3c5c233f634d59f246c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -649,11 +649,11 @@
}, },
"nixpkgs-stable_2": { "nixpkgs-stable_2": {
"locked": { "locked": {
"lastModified": 1749727998, "lastModified": 1750622754,
"narHash": "sha256-mHv/yeUbmL91/TvV95p+mBVahm9mdQMJoqaTVTALaFw=", "narHash": "sha256-kMhs+YzV4vPGfuTpD3mwzibWUE6jotw5Al2wczI0Pv8=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "fd487183437963a59ba763c0cc4f27e3447dd6dd", "rev": "c7ab75210cb8cb16ddd8f290755d9558edde7ee1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -729,11 +729,11 @@
}, },
"nixpkgs_4": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1749285348, "lastModified": 1750741721,
"narHash": "sha256-frdhQvPbmDYaScPFiCnfdh3B/Vh81Uuoo0w5TkWmmjU=", "narHash": "sha256-Z0djmTa1YmnGMfE9jEe05oO4zggjDmxOGKwt844bUhE=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "3e3afe5174c561dee0df6f2c2b2236990146329f", "rev": "4b1164c3215f018c4442463a27689d973cffd750",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -1185,16 +1185,16 @@
"xwayland-satellite-stable": { "xwayland-satellite-stable": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1739246919, "lastModified": 1748488455,
"narHash": "sha256-/hBM43/Gd0/tW+egrhlWgOIISeJxEs2uAOIYVpfDKeU=", "narHash": "sha256-IiLr1alzKFIy5tGGpDlabQbe6LV1c9ABvkH6T5WmyRI=",
"owner": "Supreeeme", "owner": "Supreeeme",
"repo": "xwayland-satellite", "repo": "xwayland-satellite",
"rev": "44590a416d4a3e8220e19e29e0b6efe64a80315d", "rev": "3ba30b149f9eb2bbf42cf4758d2158ca8cceef73",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "Supreeeme", "owner": "Supreeeme",
"ref": "v0.5.1", "ref": "v0.6",
"repo": "xwayland-satellite", "repo": "xwayland-satellite",
"type": "github" "type": "github"
} }
@@ -1202,11 +1202,11 @@
"xwayland-satellite-unstable": { "xwayland-satellite-unstable": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1749315541, "lastModified": 1750821680,
"narHash": "sha256-bEik1BfVOFnWvtOrcOHluos/edJ8f+G2y1QySbt/0Ak=", "narHash": "sha256-Bu5unTxnqok2RoU5P394Gh0vRaoyI/5xlOOJDF6akrc=",
"owner": "Supreeeme", "owner": "Supreeeme",
"repo": "xwayland-satellite", "repo": "xwayland-satellite",
"rev": "da2ecb5be816de35e2efe23a408a1c49fe8b11ba", "rev": "2e7c318ac2bbf699b6ab92ef91e661e16415dfac",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -16,6 +16,8 @@
tailscale.enable = true; tailscale.enable = true;
earlyoom.enable = true; earlyoom.enable = true;
slippi.enable = true;
steam = { steam = {
enable = true; enable = true;
impermanenceUsers = ["crumb"]; impermanenceUsers = ["crumb"];
@@ -159,6 +161,10 @@
}; };
}; };
security.pki.certificateFiles = [
../../public-keys/lolc.at.crt
];
# This option defines the first version of NixOS you have installed on this # This option defines the first version of NixOS you have installed on this
# particular machine, and is used to maintain compatibility with application # particular machine, and is used to maintain compatibility with application
# data (e.g. databases) created on older NixOS versions. # data (e.g. databases) created on older NixOS versions.

19
modules/home/slippi.nix Normal file
View File

@@ -0,0 +1,19 @@
{ config, lib, pkgs, ... }:
let cfg = config.sydnix.slippi;
in {
options.sydnix.slippi = {
enable = lib.mkEnableOption "slippi";
};
config = lib.mkIf cfg.enable {
sydnix.impermanence.directories = [
".config/Slippi Launcher"
".config/SlippiOnline"
".config/SlippiPlayback"
# We must manually remove the `export LD_LIBRARY_PATH=...` line for now.
# fuck.
".cache/appimage-run"
];
};
}

View File

@@ -128,6 +128,9 @@ in {
home.packages = [ home.packages = [
emacsclient-or-emacs emacsclient-or-emacs
(pkgs.writeShellScriptBin "emacs-fuckyou" ''
${my-emacs}/bin/emacs "$@"
'')
] ++ fontPackages; ] ++ fontPackages;
# There's probably a better place to put this, but the current setup demands # There's probably a better place to put this, but the current setup demands

View File

@@ -66,7 +66,7 @@ success. When a handler returns a marker, the marker will be jumped to.")
"Try to find documentation on IDENTIFIER, and " "Try to find documentation on IDENTIFIER, and "
(interactive (list (syd-thing-at-point-or-region))) (interactive (list (syd-thing-at-point-or-region)))
(or (syd-lookup--jump-to 'documentation identifier (or (syd-lookup--jump-to 'documentation identifier
:display-fn #'pop-to-buffer) :display-fn #'display-buffer)
(user-error "Couldn't find documentation on %S" (user-error "Couldn't find documentation on %S"
(substring-no-properties identifier)))) (substring-no-properties identifier))))
@@ -86,8 +86,10 @@ success. When a handler returns a marker, the marker will be jumped to.")
(message "No lookup handler could find %S" identifier) (message "No lookup handler could find %S" identifier)
nil) nil)
((markerp result) ((markerp result)
(funcall display-fn (marker-buffer result)) (let ((b (marker-buffer result)))
(goto-char result) (funcall display-fn b)
(when (eq (current-buffer) b)
(goto-char result)))
result) result)
(result)) (result))
(with-current-buffer (marker-buffer origin) (with-current-buffer (marker-buffer origin)

View File

@@ -11,14 +11,13 @@
"." #'agda2-goal-and-context-and-inferred "." #'agda2-goal-and-context-and-inferred
"," #'agda2-goal-and-context "," #'agda2-goal-and-context
"=" #'agda2-show-constraints "=" #'agda2-show-constraints
"SPC" #'agda2-give "g" #'agda2-give
"a" #'agda2-mimer-maybe-all "a" #'agda2-mimer-maybe-all
"b" #'agda2-previous-goal "[" #'agda2-previous-goal
"c" #'agda2-make-case "c" #'agda2-make-case
"d" #'agda2-infer-type-maybe-toplevel "d" #'agda2-infer-type-maybe-toplevel
"e" #'agda2-show-context "e" #'agda2-show-context
"f" #'agda2-next-goal "]" #'agda2-next-goal
"gG" #'agda2-go-back
"h" #'agda2-helper-function-type "h" #'agda2-helper-function-type
"l" #'agda2-load "l" #'agda2-load
"n" #'agda2-compute-normalised-maybe-toplevel "n" #'agda2-compute-normalised-maybe-toplevel
@@ -37,6 +36,17 @@
:states '(motion normal) :states '(motion normal)
"[ n" #'agda2-previous-goal "[ n" #'agda2-previous-goal
"] n" #'agda2-next-goal) "] n" #'agda2-next-goal)
(setq agda2-fontset-name "JuliaMono")) (setq agda2-fontset-name "JuliaMono")
(defun syd-agda-lookup-documentation ()
(interactive)
(call-interactively #'agda2-goal-and-context)
agda2-info-buffer)
;; DEPRECATED: Remove once syd-strategies is working.
(syd-add-hook 'agda2-mode-hook
(defun syd-agda-set-handlers-h ()
(setq-local syd-lookup-documentation-handlers
(list #'syd-agda-lookup-documentation)))))
(provide 'syd-lang-agda) (provide 'syd-lang-agda)

View File

@@ -69,7 +69,7 @@ to a pop up buffer."
(syd-add-hook '(emacs-lisp-mode-hook lisp-data-mode-hook) (syd-add-hook '(emacs-lisp-mode-hook lisp-data-mode-hook)
#'syd-lisp-mode) #'syd-lisp-mode)
;; DEPRECATED: Remove once syd-strategies is working. ;; DEPRECATED: Remove once syd-strategies is working.
(syd-add-hook '(emacs-lisp-mode-hook help-mode-hook lisp-data-mode-hook) (syd-add-hook '(emacs-lisp-mode-hook help-mode-hook lisp-data-mode-hook)
(defun syd-emacs-set-handlers-h () (defun syd-emacs-set-handlers-h ()
(setq-local syd-lookup-documentation-handlers (setq-local syd-lookup-documentation-handlers

View File

@@ -39,7 +39,9 @@ See `https://github.com/ProofGeneral/PG/issues/427'."
(set-popup-rules! (set-popup-rules!
`((,(rx bol "*idris2-notes*" eol) `((,(rx bol "*idris2-notes*" eol)
:ttl nil) :ttl nil)
(,(rx bol "*idris2-holes" eol) (,(rx bol "*idris2-holes*" eol)
:ttl nil :quit t :vslot -5 :height 7)))) :ttl nil :quit t :vslot -5 :height 7)))
(dolist (c '(?_ ??))
(modify-syntax-entry c "w" idris2-syntax-table)))
(provide 'syd-lang-idris2) (provide 'syd-lang-idris2)

View File

@@ -0,0 +1 @@
nil

24
modules/nixos/slippi.nix Normal file
View File

@@ -0,0 +1,24 @@
{ config, lib, pkgs, ... }:
let cfg = config.sydnix.slippi;
in {
options.sydnix.slippi = {
enable = lib.mkEnableOption "Slippi meleeeeee";
};
config = lib.mkIf cfg.enable {
programs.appimage = {
enable = true;
binfmt = true;
};
services.udev = {
enable = true;
# Change the mode (as in chmod) of my third-party Wii U GameCube adapter
# device to 666.
extraRules = ''
SUBSYSTEMS=="usb", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="0337", MODE="0666"
'';
};
};
}

View File

@@ -9,7 +9,7 @@ let users = builtins.readDir ../users;
inputs.sops-nix.homeManagerModules.sops inputs.sops-nix.homeManagerModules.sops
inputs.impermanence.homeManagerModules.impermanence inputs.impermanence.homeManagerModules.impermanence
inputs.nixcord.homeManagerModules.nixcord inputs.nixcord.homeModules.nixcord
# Directory name should always match username. # Directory name should always match username.
({ ... }: { home.username = username; }) ({ ... }: { home.username = username; })

11
public-keys/lolc.at.crt Normal file
View File

@@ -0,0 +1,11 @@
-----BEGIN CERTIFICATE-----
MIIBnDCCAUGgAwIBAgIQTPCKtpeA+R34smG/iS8hZjAKBggqhkjOPQQDAjAsMRAw
DgYDVQQKEwd3aXNoc3lzMRgwFgYDVQQDEw93aXNoc3lzIFJvb3QgQ0EwHhcNMjUw
MTEwMjAyMzMzWhcNMzUwMTA4MjAyMzMzWjAsMRAwDgYDVQQKEwd3aXNoc3lzMRgw
FgYDVQQDEw93aXNoc3lzIFJvb3QgQ0EwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNC
AASLYFi0m2/CInJhHn57UfiLAPGQinqLWdAkTS5CbFkExnYl5uOA2jA7C62PXtyl
1XK+02WL11Di1sVmcm5jSNnzo0UwQzAOBgNVHQ8BAf8EBAMCAQYwEgYDVR0TAQH/
BAgwBgEB/wIBATAdBgNVHQ4EFgQUNhQ6aIbx9E9GBx+5Bk1vUzOPUKowCgYIKoZI
zj0EAwIDSQAwRgIhAP10X+Z6V4FQHUq6r+ilLJS+Bwtpr10SWXIuTEaNcNbeAiEA
nvOIyom/niMjQ4R/lm4ExHVJSFRvsLhOXD5AeDayvXE=
-----END CERTIFICATE-----

View File

@@ -20,6 +20,7 @@
sydnix = { sydnix = {
gpg.enable = true; gpg.enable = true;
xdg.enable = true; xdg.enable = true;
slippi.enable = true;
sops = { sops = {
enable = true; enable = true;
keyFile = "/persist/private-keys/age/${config.home.username}"; keyFile = "/persist/private-keys/age/${config.home.username}";