Skip to content

Instantly share code, notes, and snippets.

View Lillecarl's full-sized avatar
🦕
Dinosaurs are a lie!

Ujp8LfXBJ6wCPR Lillecarl

🦕
Dinosaurs are a lie!
View GitHub Profile
diff --git a/common/acme.nix b/common/acme.nix
new file mode 100644
index 0000000..35ddbdd
--- /dev/null
+++ b/common/acme.nix
@@ -0,0 +1,11 @@
+{ ... }:
+{
+ security.acme = {
+ acceptTerms = true;
.config/
.config/fish/
.config/fish/conf.d/
.config/fish/conf.d/journal.fish
.config/fish/conf.d/linked.fish
.config/hypr/
.config/hypr/linked.conf
.config/nvim/
.config/nvim/lua/
.config/nvim/lua/catppuccin_config.lua
- name: Startup
tags: startup
block:
- name: 'gather EC2 instance facts'
action: ec2_metadata_facts
register: ec2_metadata_facts
- name: 'get existing EBS volume'
command: "aws --region {{ ansible_ec2_placement_region }} ec2 describe-volumes --filters Name=tag:Name,Values={{ influxdb_data_volume_tag }} --output json"
register: awscli_output
when: influxdb_data_volume_tag is defined
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/g3sqaxlflnd977l3yms1vl68ih9kh1jx-source
source root is source
/build/source /build
patching script interpreter paths in .
/build
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
#! /usr/bin/env bash
CONTROL_FILE="./bastion_control"
if [ -n "$1" ]; then CONTROL_FILE=$1; fi
ssh -S $CONTROL_FILE -O exit bastion
LENOVO 21CF002GMX
├─ELAN0678:00 04F3:3195:
│ Device ID: f8bebdac7d9634f3890f6f6cf3eec0908c2c700b
│ Summary: Touchpad
│ Current version: 0x0003
│ Bootloader Version: 0x0002
│ Vendor: ELAN Microelectronics (HIDRAW:0x04F3)
│ GUIDs: 4e8cda57-37ba-5dc6-b114-7610e38714e2 ← HIDRAW\VEN_04F3&DEV_3195
│ cc456594-6f7e-5d1b-82a6-b4558a813152 ← HIDRAW\VEN_04F3&DEV_3195&MOD_0006
[LOG] Instance Signature: 6d7dc70f663891ef39dcfb8ba8e5ff643b4d9ed8_1695905741
[LOG] Hyprland PID: 2574
[LOG] ===== SYSTEM INFO: =====
[LOG] System name: Linux
[LOG] Node name: nub
[LOG] Release: 6.5.5
[LOG] Version: #1-NixOS SMP PREEMPT_DYNAMIC Sat Sep 23 09:14:39 UTC 2023
[LOG] GPU information:
Thread 1 "Hyprland" received signal SIGABRT, Aborted.
__pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
44 pthread_kill.c: No such file or directory.
CRASHLOG BEGIN
Using the running image of child Thread 0x7ffff62ebac0 (LWP 2558).
Program stopped at 0x7ffff739ca8c.
It stopped with signal SIGABRT, Aborted.
~ 🐚 fish
at 19:06:59 ❌139 ❯ flatpak run im.riot.Riot
[3:0908/190701.139354:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
/home/lillecarl/.var/app/im.riot.Riot/config/Element exists: yes
/home/lillecarl/.var/app/im.riot.Riot/config/Riot exists: no
LaunchProcess: failed to execvp:
xdg-settings
[3:0908/190701.415810:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[3:0908/190701.415887:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
Starting auto update with base URL: https://packages.element.io/desktop/update/
#! /usr/bin/env python3
import json
import re
from time import sleep
from plumbum import local
from pathlib import Path
sensors = local["sensors"]