]> Untitled Git - monorepo.git/commitdiff
add some files
authorPreston Pan <ret2pop@gmail.com>
Mon, 3 Feb 2025 23:41:35 +0000 (15:41 -0800)
committerPreston Pan <ret2pop@gmail.com>
Mon, 3 Feb 2025 23:41:35 +0000 (15:41 -0800)
journal/20250203.org [new file with mode: 0644]
nix/modules/vda-simple.nix [new file with mode: 0644]

diff --git a/journal/20250203.org b/journal/20250203.org
new file mode 100644 (file)
index 0000000..81d1177
--- /dev/null
@@ -0,0 +1,22 @@
+#+TITLE: Daily Journal
+#+STARTUP: showeverything
+#+DESCRIPTION: My daily journal entry
+#+AUTHOR: Preston Pan
+#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="../style.css" />
+#+html_head: <script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
+#+html_head: <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
+#+options: broken-links:t
+* Monday, 03 February 2025
+** 03:00 
+It's 3 am and I'm just up with Marissa and doing some small automation
+and cleanup tasks. I'm doing these so that I don't really have to
+think about them again. I also just saw my friend Erfan at his house,
+and we talked a lot about his work and life.
+** 13:54 
+It's the next day for me practically, and I'm just about to get to
+work. Reading my agenda and then I'm going to work on some of these
+agenda items today. I might try to get a VPS working with NixOS and
+then integrate my server with my DNS domain. I will need to get my
+IPFS keys from my server onto my local machine, and then probably set
+up the NixOS machine, change the registrar entries and then destroy
+the old server.
diff --git a/nix/modules/vda-simple.nix b/nix/modules/vda-simple.nix
new file mode 100644 (file)
index 0000000..f18b1c3
--- /dev/null
@@ -0,0 +1,35 @@
+{
+  disko.devices = {
+    disk = {
+      my-disk = {
+        device = "/dev/vda";
+        type = "disk";
+        content = {
+          type = "gpt";
+          partitions = {
+            ESP = {
+              type = "EF00";
+              size = "500M";
+              priority = 1;
+              content = {
+                type = "filesystem";
+                format = "vfat";
+                mountpoint = "/boot";
+                mountOptions = [ "umask=0077" ];
+              };
+            };
+            root = {
+              size = "100%";
+              priority = 2;
+              content = {
+                type = "filesystem";
+                format = "ext4";
+                mountpoint = "/";
+              };
+            };
+          };
+        };
+      };
+    };
+  };
+}