Compare commits

...

3 Commits

Author SHA1 Message Date
924b216564 vault backup: 2022-11-02 11:44:30 2022-11-02 11:44:30 +01:00
8c1228085c vault backup: 2022-10-17 16:41:16 2022-10-17 16:41:16 +02:00
4ff4e6b583 vault backup: 2022-10-17 16:39:22 2022-10-17 16:39:22 +02:00
13 changed files with 265 additions and 7 deletions

22
.obsidian/graph.json vendored Normal file
View 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": false,
"centerStrength": 0.479166666666667,
"repelStrength": 9.89583333333333,
"linkStrength": 1,
"linkDistance": 250,
"scale": 8,
"close": false
}

View File

@@ -16,7 +16,7 @@
"customMessageOnAutoBackup": false,
"autoBackupAfterFileChange": false,
"treeStructure": false,
"refreshSourceControl": false,
"refreshSourceControl": true,
"basePath": "",
"differentIntervalCommitAndPush": false,
"changedFilesInStatusBar": false,

19
.obsidian/workspace vendored
View File

@@ -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"
]
}

157
.obsidian/workspace.json vendored Normal file
View File

@@ -0,0 +1,157 @@
{
"main": {
"id": "bf8f29ac0c8f6600",
"type": "split",
"children": [
{
"id": "035ae71cc41d5228",
"type": "tabs",
"children": [
{
"id": "73c99349ca4c336a",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "Puzzle/End of Probezeit.md",
"mode": "source",
"source": false
}
}
},
{
"id": "a63c19f991665faa",
"type": "leaf",
"state": {
"type": "graph",
"state": {}
}
}
],
"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": {
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical",
"showSearch": false,
"searchQuery": "",
"backlinkCollapsed": false,
"unlinkedCollapsed": true
}
}
},
{
"id": "08be09c006281b94",
"type": "leaf",
"state": {
"type": "outgoing-link",
"state": {
"linksCollapsed": false,
"unlinkedCollapsed": true
}
}
},
{
"id": "48908052e5a10787",
"type": "leaf",
"state": {
"type": "tag",
"state": {
"sortOrder": "frequency",
"useHierarchy": true
}
}
},
{
"id": "8c7d456271d22e76",
"type": "leaf",
"state": {
"type": "outline",
"state": {}
}
}
]
}
],
"direction": "horizontal",
"width": 300,
"collapsed": true
},
"active": "a63c19f991665faa",
"lastOpenFiles": [
"Puzzle/Puzzle standards.md",
"Puzzle/End of Probezeit.md",
"Arch linux/Pre Wipe.md",
"Arch linux/Setup.md",
"Test on oneplus actually.md",
"Arch linux/Customization.md",
"Arch linux/Post Install.md",
"Arch linux/Installation.md",
"Arch linux/Post Wipe.md",
"conflict-files-obsidian-git.md"
]
}

View File

View File

@@ -0,0 +1 @@
### Continue onto [[Post Install]]

View File

@@ -0,0 +1,2 @@
### Continue onto [[Customization]]

20
Arch linux/Post Wipe.md Normal file
View 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
View 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
View 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

View File

@@ -0,0 +1,17 @@
### Recap: rather good
* no real complaints
* curiosity very welcome
* independence as a plus
* try to make yourself more visible (to other team members)
* idea: (very) short presentation on progress and discoveries during last weeks (whem: sprint meetings)
* idea: document tasks and progress on taiga
### Outlook
* find new tasks by yourself, go ahead and annoy everyone
* Reto for everything #prometheus related
* Fabio for #firewall - #ansible module testing using #vagrant
* ....
* Think about longer term goals with puzzle by Feb-2023
*

View File

@@ -0,0 +1,3 @@
... and ways to reach them
* Encrypted work laptop -> [[Post Wipe]]]

View File

@@ -1 +0,0 @@
please work