Skip to content

Instantly share code, notes, and snippets.

@vibowit
vibowit / vm-profile.nix
Created January 30, 2025 20:11 — forked from joshleecreates/vm-profile.nix
NixOS VM Profile
{ config, pkgs, modulesPath, lib, system, ... }:
{
imports = [
(modulesPath + "/profiles/qemu-guest.nix")
];
config = {
#Provide a default hostname
networking.hostName = lib.mkDefault "base";
@vibowit
vibowit / z2m_aqara_trv_external_temperature.yaml
Last active November 9, 2024 22:01 — forked from pavax/z2m_aqara_trv_external_temperature.yaml
z2m_aqara_trv_external_temperature.yaml
blueprint:
name: Aqara TRV E1 External Temperature Control
description: >
This automation allows the Aqara TRV E1 Smart Radiator Thermostat to use temperature readings from an external sensor rather than its internal sensor. Whenever the temperature sensor reports a new value, it is sent to the TRV for more accurate climate control.
domain: automation
source_url: "https://gist.github.com/pavax/8d6ed250765d89cb281d4a1762b8d2e8"
input:
external_temp_sensor:
name: External Temperature Sensor
@vibowit
vibowit / README.md
Created June 16, 2020 18:56 — forked from gbrlsnchs/README.md
Void Linux Installation Guide (UEFI + chroot + brtfs + LUKS Encryption)

Void Linux installation guide!

Live image

Logging in

User is anon and password is voidlinux. The root user is root and has the same password. This document implies you're using the root user, so no sudo is used until the main user is created and used.

Setting keyboard layout

@vibowit
vibowit / OpenBox.md
Last active June 3, 2020 12:58
Konfiguracja OpenBox

OPENBOX CONFIG

xrandr --output xxx --mode 0000x000 &
nirogen --restore

picom --config ~/.config/picom.conf &
volumeicon &

polkit-gnome-authentication ...
@vibowit
vibowit / Preferences.sublime-settings
Created January 23, 2014 10:39
My user Sublime Text 3 settings
{
"color_scheme": "Packages/Color Scheme - Default/Monokai Bright.tmTheme",
"font_face": "Ubuntu Mono",
"font_size": 12,
"font_options": ["subpixel_antialias"],
"rulers": [78],
// If enabled, will highlight any line with a caret
"highlight_line": true,
@vibowit
vibowit / increment_selection.py
Last active January 4, 2016 03:19
Sublime Text plugin to increment numbers in selection
import sublime
import sublime_plugin
class IncrementSelectionCommand(sublime_plugin.TextCommand):
def run(self, edit):
s = self.view.substr(self.view.sel()[0])
start_value = int(s)
length = len(s)
counter = 0