diff options
author | Preston Pan <ret2pop@gmail.com> | 2025-02-03 15:41:35 -0800 |
---|---|---|
committer | Preston Pan <ret2pop@gmail.com> | 2025-02-03 15:41:35 -0800 |
commit | 66c78fdb55211cc071b87761635284f17b7c7c4c (patch) | |
tree | d9f59b74896c582ef4ac1c7ea1e0a6f2b44396d1 | |
parent | 8e5d3a8fcd6893bcd4903cc9b7bfe96f6486d7c6 (diff) |
add some files
-rw-r--r-- | journal/20250203.org | 22 | ||||
-rw-r--r-- | nix/modules/vda-simple.nix | 35 |
2 files changed, 57 insertions, 0 deletions
diff --git a/journal/20250203.org b/journal/20250203.org new file mode 100644 index 0000000..81d1177 --- /dev/null +++ b/journal/20250203.org @@ -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 index 0000000..f18b1c3 --- /dev/null +++ b/nix/modules/vda-simple.nix @@ -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 = "/"; + }; + }; + }; + }; + }; + }; + }; +} |