Skip to content

Instantly share code, notes, and snippets.

View dezren39's full-sized avatar
🕵️‍♂️
Processing..

Drewry Pope dezren39

🕵️‍♂️
Processing..
View GitHub Profile
- samsung nvme 980 pro / 990 pro
- lenovo samsung nvme
- hp fx900 pro nvme
- Primary NVMe Idle Timeout" setting in Control Panel / Power Options / Edit Plan Settings / Change Advanced Power Settings / and put both values at 0, effectively disabling any power state change for the FX900 pro.
- wd black sn850x nvme
- corsair p310 nvme
- lexar 790 nvme
- intel optane p4800x ssd
- seagate exos __ hdd
{
"name": "fire berserker",
"colorName": "@c-red@f@c-yellow@i@c-magenta@r@c-red@e@c-reset@ @c-bold-on@@c-magenta@berserker@c-reset@",
"stats": {
"strength": 9,
"intelligence": 0,
"willpower": 0,
"aim": 3,
"agile": 3,
"armorRating": 40,
@dezren39
dezren39 / framework-13-amd-upgrade.md
Created December 13, 2024 08:41 — forked from miXwui/framework-13-amd-upgrade.md
Framework 13 AMD 7080U Upgrade (From i7-1165G7, Fedora 38)

Note: this is an ongoing process which I'm documenting here. Semi-experimental, but this is my daily driver machine since September 2021 (work included), so I'm aiming for stability (hence why I'm not using the recommended Fedora 39 Beta).

Upgraded from an Intel i7-1165G7 to AMD 7080U mainboard:

  • 64GB (2x32GB) G.Skill F5-5600S4040A32GX2-RS
    • Have an SK Hynix 16GB (2x8GB) 4800MHz (HMCG66MEBSA095N BA) kit that I'll test just to see power draw difference.
  • SK hynix Gold P31 2TB PCIe NVMe Gen3 M.2 2280

These notes are for Fedora 38 6.5.8-200.fc38.x86_64 with SwayWM.

Booted into Fedora with BIOS 3.02 and seemed fine. First thing I did was upgrade to 3.03.

@dezren39
dezren39 / qemu_setup.sh
Created November 8, 2024 07:12 — forked from truthadjustr/qemu_setup.sh
nixos qemu networking
#!/bin/sh
#
tunctl -u dx -t tap0
ifconfig tap0 102.168.100.1 up
# qemu-kvm -hda nixos-disc.img -m 1024 -net nic -net tap,ifname=tap0,script=no
# *** Inside the Qemu guest ***
# ip addr set 192.168.100.2 dev ens3
@dezren39
dezren39 / README.md
Created November 3, 2024 00:14 — forked from pete3n/README.md
NixOS Offline Options

NixOS in Offline and Restrictive Networks

This gist was created to explore options for working with NixOS in a completely offline environment or inside a network with restricted internet access (such as a corporate LAN with a Proxy).

Offline Installation

Netboot/Pixieboot

Zen Mods
Zen Mods
Find and install themes from the store.
Visit Store
Disable Rounded Corners (v2.0.0)
Disable Rounded Corners from Web View.
Formula 1 (v1.0.0)
Embrace the simplicity of black and red
Matcha (v1.0.0)
services = {
# Auto mount devices
udiskie = {
enable = true;
};
dunst = {
enable = true;
package = pkgs.dunst;
@dezren39
dezren39 / write_up.md
Created October 20, 2024 07:26 — forked from udf/write_up.md
A Trick To Use mkMerge at The Top Level of a NixOS module

The Setup

I wanted to write a module that generates multiple systemd services and timers to scrub some zfs pools at certain intervals. The default scrub config does not support individual scrub intervals for each pool.

I want the config to look like this:

{
  services.zfs-auto-scrub = {
 tank = "Sat *-*-* 00:00:00";