fractal: switch back to using nixpkgs edition

This commit is contained in:
2024-10-08 16:13:55 +00:00
parent 01eb5b891f
commit ad8976f145

View File

@@ -4,27 +4,27 @@
# if it stalls while launching, especially with a brief message at bottom # if it stalls while launching, especially with a brief message at bottom
# "unable to open store" # "unable to open store"
# then: # then:
# - remove ~/.local/share/stable/* # - remove ~/.local/share/fractal/*
# - this might give I/O error, in which case remove the corresponding path under # - this might give I/O error, in which case remove the corresponding path under
# /nix/persist/home/colin/private (which can be found by correlating timestamps/sizes with that in ~/private/.local/share/stable). # /nix/persist/private/home/colin/ (which can be found by correlating timestamps/sizes with that in ~/private/.local/share/stable).
# - reboot (maybe necessary). # - reboot (maybe necessary).
# - now you can send messages, and read messages in unencrypted rooms, but not read messages from encrypted rooms. # - now you can send messages, and read messages in unencrypted rooms, but not read messages from encrypted rooms.
# to fix encrypted message receipt: # to fix encrypted message receipt:
# - start from above (fractal closed, no ~/.local/share/stable/*) # - start from above (fractal closed, no ~/.local/share/fractal/*)
# - in ~/.local/share/keyrings/Default_keyring.keyring: # - in ~/.local/share/keyrings/Default_keyring.keyring:
# - find the entry that says "display-name=Fractal: Matrix credentials for <mxid>" # - find the entry that says "display-name=Fractal: Matrix credentials for <mxid>"
# - remove that entry and all associated entries (i.e. ones with same number but different :attributeN) # - remove that entry and all associated entries (i.e. ones with same number but different :attributeN)
# - REBOOT. otherwise keyring stuff seems to stay cached in RAM # - REBOOT. otherwise keyring stuff seems to stay cached in RAM
# - login to Fractal. give an hour to sync. # - login to Fractal. give an hour to sync.
# - it'll kick you back to a page asking you to cross-sign. open FluffyChat and do the emoji compare. success! # - it'll kick you back to a page asking you to cross-sign. open another client (Fractal on other device; FluffyChat) and do the emoji compare. success!
{ config, lib, pkgs, ... }: { config, lib, ... }:
let let
cfg = config.sane.programs.fractal; cfg = config.sane.programs.fractal;
in in
{ {
sane.programs.fractal = { sane.programs.fractal = {
packageUnwrapped = pkgs.fractal-nixified.optimized; # stock fractal once used to take 2+hr to link: switch back to fractal-nixified should that happen again
# packageUnwrapped = pkgs.fractal; # packageUnwrapped = pkgs.fractal-nixified.optimized;
sandbox.net = "clearnet"; sandbox.net = "clearnet";
sandbox.whitelistAudio = true; sandbox.whitelistAudio = true;
@@ -56,10 +56,7 @@ in
}; };
persist.byStore.private = [ persist.byStore.private = [
# XXX by default fractal stores its state in ~/.local/share/<build-profile>/<UUID>. ".local/share/fractal"
# ".local/share/hack" # for debug-like builds
# ".local/share/stable" # for normal releases
".local/share/fractal" # for version 5+
]; ];
suggestedPrograms = [ "gnome-keyring" ]; suggestedPrograms = [ "gnome-keyring" ];