Compare commits
	
		
			2 Commits
		
	
	
		
			5771c4a79c
			...
			8c1228085c
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 8c1228085c | |||
| 4ff4e6b583 | 
							
								
								
									
										22
									
								
								.obsidian/graph.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								.obsidian/graph.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,22 @@ | ||||
| { | ||||
|   "collapse-filter": true, | ||||
|   "search": "", | ||||
|   "showTags": false, | ||||
|   "showAttachments": false, | ||||
|   "hideUnresolved": false, | ||||
|   "showOrphans": true, | ||||
|   "collapse-color-groups": true, | ||||
|   "colorGroups": [], | ||||
|   "collapse-display": true, | ||||
|   "showArrow": false, | ||||
|   "textFadeMultiplier": 0, | ||||
|   "nodeSizeMultiplier": 1, | ||||
|   "lineSizeMultiplier": 1, | ||||
|   "collapse-forces": true, | ||||
|   "centerStrength": 0.518713248970312, | ||||
|   "repelStrength": 10, | ||||
|   "linkStrength": 1, | ||||
|   "linkDistance": 250, | ||||
|   "scale": 1, | ||||
|   "close": false | ||||
| } | ||||
							
								
								
									
										4
									
								
								.obsidian/plugins/obsidian-git/data.json
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.obsidian/plugins/obsidian-git/data.json
									
									
									
									
										vendored
									
									
								
							| @@ -16,7 +16,7 @@ | ||||
|   "customMessageOnAutoBackup": false, | ||||
|   "autoBackupAfterFileChange": false, | ||||
|   "treeStructure": false, | ||||
|   "refreshSourceControl": false, | ||||
|   "refreshSourceControl": true, | ||||
|   "basePath": "", | ||||
|   "differentIntervalCommitAndPush": false, | ||||
|   "changedFilesInStatusBar": false, | ||||
| @@ -24,4 +24,4 @@ | ||||
|   "showedMobileNotice": true, | ||||
|   "refreshSourceControlTimer": 7000, | ||||
|   "showBranchStatusBar": true | ||||
| } | ||||
| } | ||||
|   | ||||
							
								
								
									
										19
									
								
								.obsidian/workspace
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										19
									
								
								.obsidian/workspace
									
									
									
									
										vendored
									
									
								
							| @@ -7,8 +7,12 @@ | ||||
|         "id": "23dc6084c6366a9a", | ||||
|         "type": "leaf", | ||||
|         "state": { | ||||
|           "type": "empty", | ||||
|           "state": {} | ||||
|           "type": "markdown", | ||||
|           "state": { | ||||
|             "file": "Untitled.md", | ||||
|             "mode": "source", | ||||
|             "source": false | ||||
|           } | ||||
|         } | ||||
|       } | ||||
|     ], | ||||
| @@ -73,6 +77,7 @@ | ||||
|             "state": { | ||||
|               "type": "backlink", | ||||
|               "state": { | ||||
|                 "file": "Untitled.md", | ||||
|                 "collapseAll": false, | ||||
|                 "extraContext": false, | ||||
|                 "sortOrder": "alphabetical", | ||||
| @@ -89,6 +94,7 @@ | ||||
|             "state": { | ||||
|               "type": "outgoing-link", | ||||
|               "state": { | ||||
|                 "file": "Untitled.md", | ||||
|                 "linksCollapsed": false, | ||||
|                 "unlinkedCollapsed": true | ||||
|               } | ||||
| @@ -110,7 +116,9 @@ | ||||
|             "type": "leaf", | ||||
|             "state": { | ||||
|               "type": "outline", | ||||
|               "state": {} | ||||
|               "state": { | ||||
|                 "file": "Untitled.md" | ||||
|               } | ||||
|             } | ||||
|           } | ||||
|         ] | ||||
| @@ -121,5 +129,8 @@ | ||||
|     "collapsed": true | ||||
|   }, | ||||
|   "active": "23dc6084c6366a9a", | ||||
|   "lastOpenFiles": [] | ||||
|   "lastOpenFiles": [ | ||||
|     "Obsidian Setup.md", | ||||
|     "Untitled.md" | ||||
|   ] | ||||
| } | ||||
							
								
								
									
										162
									
								
								.obsidian/workspace.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										162
									
								
								.obsidian/workspace.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,162 @@ | ||||
| { | ||||
|   "main": { | ||||
|     "id": "bf8f29ac0c8f6600", | ||||
|     "type": "split", | ||||
|     "children": [ | ||||
|       { | ||||
|         "id": "035ae71cc41d5228", | ||||
|         "type": "tabs", | ||||
|         "children": [ | ||||
|           { | ||||
|             "id": "73c99349ca4c336a", | ||||
|             "type": "leaf", | ||||
|             "state": { | ||||
|               "type": "graph", | ||||
|               "state": {} | ||||
|             } | ||||
|           }, | ||||
|           { | ||||
|             "id": "c0347ebefdf4fca6", | ||||
|             "type": "leaf", | ||||
|             "state": { | ||||
|               "type": "markdown", | ||||
|               "state": { | ||||
|                 "file": "conflict-files-obsidian-git.md", | ||||
|                 "mode": "source", | ||||
|                 "source": false | ||||
|               } | ||||
|             } | ||||
|           } | ||||
|         ], | ||||
|         "currentTab": 1 | ||||
|       } | ||||
|     ], | ||||
|     "direction": "vertical" | ||||
|   }, | ||||
|   "left": { | ||||
|     "id": "563102c3c53694cb", | ||||
|     "type": "split", | ||||
|     "children": [ | ||||
|       { | ||||
|         "id": "f3f4e2edbb51f0a1", | ||||
|         "type": "tabs", | ||||
|         "children": [ | ||||
|           { | ||||
|             "id": "8d17f891c7d8b60f", | ||||
|             "type": "leaf", | ||||
|             "state": { | ||||
|               "type": "file-explorer", | ||||
|               "state": { | ||||
|                 "sortOrder": "alphabetical" | ||||
|               } | ||||
|             } | ||||
|           }, | ||||
|           { | ||||
|             "id": "94c5d1dcd2198de0", | ||||
|             "type": "leaf", | ||||
|             "state": { | ||||
|               "type": "search", | ||||
|               "state": { | ||||
|                 "query": "", | ||||
|                 "matchingCase": false, | ||||
|                 "explainSearch": false, | ||||
|                 "collapseAll": false, | ||||
|                 "extraContext": false, | ||||
|                 "sortOrder": "alphabetical" | ||||
|               } | ||||
|             } | ||||
|           }, | ||||
|           { | ||||
|             "id": "ff192b36193f3784", | ||||
|             "type": "leaf", | ||||
|             "state": { | ||||
|               "type": "starred", | ||||
|               "state": {} | ||||
|             } | ||||
|           } | ||||
|         ] | ||||
|       } | ||||
|     ], | ||||
|     "direction": "horizontal", | ||||
|     "width": 300 | ||||
|   }, | ||||
|   "right": { | ||||
|     "id": "d40464cbf1f51d46", | ||||
|     "type": "split", | ||||
|     "children": [ | ||||
|       { | ||||
|         "id": "018f9c11c33e3a72", | ||||
|         "type": "tabs", | ||||
|         "children": [ | ||||
|           { | ||||
|             "id": "8f23b982eae63497", | ||||
|             "type": "leaf", | ||||
|             "state": { | ||||
|               "type": "backlink", | ||||
|               "state": { | ||||
|                 "file": "conflict-files-obsidian-git.md", | ||||
|                 "collapseAll": false, | ||||
|                 "extraContext": false, | ||||
|                 "sortOrder": "alphabetical", | ||||
|                 "showSearch": false, | ||||
|                 "searchQuery": "", | ||||
|                 "backlinkCollapsed": false, | ||||
|                 "unlinkedCollapsed": true | ||||
|               } | ||||
|             } | ||||
|           }, | ||||
|           { | ||||
|             "id": "08be09c006281b94", | ||||
|             "type": "leaf", | ||||
|             "state": { | ||||
|               "type": "outgoing-link", | ||||
|               "state": { | ||||
|                 "file": "conflict-files-obsidian-git.md", | ||||
|                 "linksCollapsed": false, | ||||
|                 "unlinkedCollapsed": true | ||||
|               } | ||||
|             } | ||||
|           }, | ||||
|           { | ||||
|             "id": "48908052e5a10787", | ||||
|             "type": "leaf", | ||||
|             "state": { | ||||
|               "type": "tag", | ||||
|               "state": { | ||||
|                 "sortOrder": "frequency", | ||||
|                 "useHierarchy": true | ||||
|               } | ||||
|             } | ||||
|           }, | ||||
|           { | ||||
|             "id": "8c7d456271d22e76", | ||||
|             "type": "leaf", | ||||
|             "state": { | ||||
|               "type": "outline", | ||||
|               "state": { | ||||
|                 "file": "conflict-files-obsidian-git.md" | ||||
|               } | ||||
|             } | ||||
|           } | ||||
|         ] | ||||
|       } | ||||
|     ], | ||||
|     "direction": "horizontal", | ||||
|     "width": 300, | ||||
|     "collapsed": true | ||||
|   }, | ||||
|   "ribbon": { | ||||
|     "mostRecentAction": "" | ||||
|   }, | ||||
|   "active": "c0347ebefdf4fca6", | ||||
|   "lastOpenFiles": [ | ||||
|     "Arch linux/Post Install.md", | ||||
|     "Arch linux/Installation.md", | ||||
|     "Arch linux/Post Wipe.md", | ||||
|     "Arch linux/Pre Wipe.md", | ||||
|     "Arch linux/Customization.md", | ||||
|     "Arch linux/Setup.md", | ||||
|     "Untitled.md", | ||||
|     "Obsidian Setup.md" | ||||
|   ] | ||||
| } | ||||
							
								
								
									
										0
									
								
								Arch linux/Customization.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								Arch linux/Customization.md
									
									
									
									
									
										Normal file
									
								
							
							
								
								
									
										1
									
								
								Arch linux/Installation.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								Arch linux/Installation.md
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| ### Continue onto [[Post Install]] | ||||
							
								
								
									
										2
									
								
								Arch linux/Post Install.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								Arch linux/Post Install.md
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,2 @@ | ||||
| ### Continue onto [[Customization]] | ||||
|  | ||||
							
								
								
									
										20
									
								
								Arch linux/Post Wipe.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								Arch linux/Post Wipe.md
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,20 @@ | ||||
| ### Wipe and create LUKS | ||||
| The keyword being wipe because encryption over a preused partition does not prevent old data from leaking. Kindof scary though to fully wipe your data knowing fully well some subsequent step might ruin most of your baclup. "But I'm too much of a man for external backups...." | ||||
|  | ||||
| * Use fdisk to remove old partitions. | ||||
| * Create unecrypted boot on `/dev/nvmen1p5`. (Use `mkfs.ext4`) | ||||
| * Create empty partition on remaining space (`linux filesystem` in fdisk). | ||||
| * Mount with `cryptsetup open --type plain -d /dev/urandom /dev/... to-be-wiped` | ||||
| * `dd if=/dev/zero of=/dev/mapper/to-be-wiped bs=1M` | ||||
| * `cryptsetup close to-be-wiped` | ||||
| * `cryptsetup luksFormat /dev/nvme...` (creates luks with a bunch of useful defaults) prompts for passphrase (generate a strong one!) | ||||
| * Now `cryptsetup open /dev/nvme...` system which creates `/dev/mapper/system` | ||||
| * Finally `mount --mkdir /dev/mapper/system /mnt/system` | ||||
|   > The final mount will have to be reflected in the fstab and the previous step executed in the initramfs already. | ||||
|    | ||||
| ### Create btrfs + subvolumes | ||||
| `mkfs.btrfs /mnt/sys` | ||||
| I then create 2 subvolumes | ||||
| `btfs subvolume create @/` and `btrfs subvolume create @rhome` | ||||
|  | ||||
| ### Continue onto [[Installation]] | ||||
							
								
								
									
										21
									
								
								Arch linux/Pre Wipe.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								Arch linux/Pre Wipe.md
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,21 @@ | ||||
| I kept a partition named Data (already btrfs, no need to encrypt) which was large enough to essentially copy all of my root partition in case of a failure. I nevertheless went ahead and exported some crucial data | ||||
|  | ||||
| ### GPG keys | ||||
| `gpg --export-sekret-keys` to a secure, non-shared location | ||||
|  | ||||
| ### SSH keys | ||||
| Copy `~/.ssh/` somewhere secure | ||||
|  | ||||
| ### Kubectl config | ||||
| Just to be sure | ||||
|  | ||||
| ### Copy `~/.config` | ||||
| Do I need to explain? I did a little filtering and removed a few folders belonging to apps I was 100% sure to have uninstalled a while ago | ||||
|  | ||||
| ### Make list of installed apps | ||||
| `pacman -Qe > ...txt` | ||||
|  | ||||
| ### Copy `/etc`, `/opt`, `/srv`, ... to be sure | ||||
|  | ||||
|  | ||||
| ### Continue onto [[Post Wipe]] | ||||
							
								
								
									
										5
									
								
								Arch linux/Setup.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								Arch linux/Setup.md
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| 1. [[Pre Wipe]]: Backup your data! | ||||
| 2. [[Post Wipe]]: Encryption | ||||
| 3. [[Installation]]: Fstab, pacstrap, grub and all these things | ||||
| 4. [[Post Install]]: Must haves after the system successfully boots | ||||
| 5. [[Customization]]: And all the quirks that come with it | ||||
		Reference in New Issue
	
	Block a user