From 66c78fdb55211cc071b87761635284f17b7c7c4c Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Mon, 3 Feb 2025 15:41:35 -0800 Subject: add some files --- journal/20250203.org | 22 ++++++++++++++++++++++ nix/modules/vda-simple.nix | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 journal/20250203.org create mode 100644 nix/modules/vda-simple.nix 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: +#+html_head: +#+html_head: +#+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 = "/"; + }; + }; + }; + }; + }; + }; + }; +} -- cgit