summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@nullring.xyz>2026-03-03 20:27:05 -0800
committerPreston Pan <ret2pop@nullring.xyz>2026-03-03 20:27:05 -0800
commit04414dcc412de9b97e625e416a103524580e2578 (patch)
tree922cbc3631e5ddc3b952595117416375d734e6cc
parent9ddd0bb87f803d3b93c41c0ad4241fb423511581 (diff)
whoops
l---------config/result1
-rw-r--r--config/spontaneity.qcow2bin23330816 -> 0 bytes
-rw-r--r--config/vm-boot.log26
-rw-r--r--flake.nix18
4 files changed, 16 insertions, 29 deletions
diff --git a/config/result b/config/result
deleted file mode 120000
index 0caf4f3..0000000
--- a/config/result
+++ /dev/null
@@ -1 +0,0 @@
-/nix/store/5hi2hi06brsl1lwm11slqq6hnsbm49z5-nixos-vm \ No newline at end of file
diff --git a/config/spontaneity.qcow2 b/config/spontaneity.qcow2
deleted file mode 100644
index 258fcdf..0000000
--- a/config/spontaneity.qcow2
+++ /dev/null
Binary files differ
diff --git a/config/vm-boot.log b/config/vm-boot.log
deleted file mode 100644
index 76cf664..0000000
--- a/config/vm-boot.log
+++ /dev/null
@@ -1,26 +0,0 @@
-Disk image does not exist, creating the virtualisation disk image...
-Formatting '/tmp/tmp.0tqXumfc13', fmt=raw size=1073741824
-mke2fs 1.47.3 (8-Jul-2025)
-Discarding device blocks: 0/262144 done
-Creating filesystem with 262144 4k blocks and 65536 inodes
-Filesystem UUID: 1d5351af-e0ed-41c6-bc5b-bbcd0127b758
-Superblock backups stored on blocks:
- 32768, 98304, 163840, 229376
-
-Allocating group tables: 0/8 done
-Writing inode tables: 0/8 done
-Creating journal (8192 blocks): done
-Writing superblocks and filesystem accounting information: 0/8 done
-
-Virtualisation disk image created.
-[ 2.096532] systemd-ssh-generator[402]: Failed to query local AF_VSOCK CID: Cannot assign requested address
-[ 2.098602] (sd-exec-[390]: /nix/store/5j9cg6adv3d2l403fcfklz4lmf9fd0l8-systemd-258.3/lib/systemd/system-generators/systemd-ssh-generator failed with exit status 1.
-[ 2.546892] systemd[1]: sops-nix.service: Service has no ExecStart=, ExecStop=, or SuccessAction=. Refusing.
-[ 3.080780] kvm_intel: VMX not supported by CPU 0
-[!p]104[?7h[!p]104[?7h]3008;start=5de0f38824c24491abc03809c0b819a3;user=root;hostname=spontaneity;machineid=cc252dcccaee40fc8736d91909226c19;bootid=9a12d11dc2ac4a199201edd0732b062a;pid=1450;pidfdid=1750;comm=(agetty);servicename=serial-getty@ttyS0.service;invocationid=04848fb7ea964d489ea6f2ce7bce288b;type=service\P+q6E616D65\
-
-<<< Welcome to NixOS 26.05.20260204.00c21e4 (x86_64) - ttyS0 >>>
-
-Run 'nixos-help' for the NixOS manual.
-
-spontaneity login: \ No newline at end of file
diff --git a/flake.nix b/flake.nix
index ad5aef1..bd17568 100644
--- a/flake.nix
+++ b/flake.nix
@@ -69,6 +69,7 @@ export TEXMFVAR=$HOME/.cache/texmf
mkdir -p $HOME/monorepo
cp -a . $HOME/monorepo/
cd $HOME/monorepo
+mkdir -p mindmap/img
cat <<EOF > $TMPDIR/policy.xml
<policymap>
@@ -103,12 +104,25 @@ emacs -q --batch \
--eval '(setq org-startup-indented nil)' \
--eval '(setq org-export-with-latex t)' \
--eval '(setq org-confirm-babel-evaluate nil)' \
+ --eval '(setq load-prefer-newer t)' \
+ --eval '(setq custom-safe-themes t)' \
-l ${hyprnixmacs}/init.el \
--eval "(org-babel-do-load-languages 'org-babel-load-languages '((latex . t)))" \
--eval '(setq org-roam-directory (expand-file-name "mindmap" (expand-file-name "~/monorepo")))' \
--eval '(setq org-id-track-globally t)' \
--eval '(org-roam-db-sync)' \
- --eval '(org-publish-all t)' || (echo "FAIL:" && cat /build/*.log && exit 1)
+ --eval '(setq term-file-prefix nil)' \
+ --eval '(load-theme (quote doom-rouge) t)' \
+ --eval '(setq htmlize-output-type (quote font))' \
+ --eval '(setq custom-safe-themes t)' \
+ --eval '(force-mode-line-update)' \
+ --eval '(setq org-html-link-use-abs-url nil)' \
+ --eval '(setq default-directory (expand-file-name "~/monorepo"))' \
+ --eval '(setq org-html-link-use-abs-url nil)' \
+ --eval '(setq org-html-link-org-files-as-html t)' \
+ --eval '(add-hook (quote org-publish-after-export-hook) (lambda (file) (font-lock-ensure)))' \
+ --eval '(org-publish-all t)' \
+ --eval '(org-publish-all nil)' || (echo "FAIL:" && cat /build/*.log && exit 1)
'';
installPhase = ''
@@ -127,7 +141,7 @@ cp -r $HOME/website_html/. $out/
};
packages."${system}" = {
- default = website;
+ website = website;
installer = self.nixosConfigurations.installer.config.system.build.isoImage;
};
devShells."${system}".default = with pkgs; mkShell {