netplan route metric

network: version: 2 ethernets: enred: dhcp4: yes dhcp4-overrides: route-metric: 100 # This route will be preferred engreen: dhcp4: yes dhcp4-overrides: route-metric: 200 # This route will be less preferred

August 28, 2025 · 1 min · Kristian Alexander P

flakes

Flakes are a feature in Nix for managing project dependencies and outputs in a self-contained and purely reproducible way. They use two main files: flake.nix: Declares the project’s inputs (dependencies, like a specific version of nixpkgs) and its outputs (packages, NixOS configurations, dev shells). flake.lock: An auto-generated file that pins the exact Git commit of every input, ensuring that builds are identical for everyone, everywhere. In short, flakes solve the problem of dependency management by locking versions explicitly, making projects truly portable and reproducible. They are the modern replacement for the older Nix channels system. ...

August 17, 2025 · 1 min · Kristian Alexander P

home-manager

Home Manager is a Nix-powered tool for reproducible management of the contents of users’ home directories. This includes programs, configuration files, environment variables and, well… arbitrary files. The following example snippet of Nix code: Backlinks nixos

August 17, 2025 · 1 min · Kristian Alexander P

nixos

nixos NixOS is a Linux distribution that uses a unique, declarative approach to system configuration. Instead of modifying configuration files directly, you define your entire system—packages, services, users, etc.—in a single file (configuration.nix). NixOS then builds the system from that declaration. This provides three main benefits: Reproducibility: The same configuration file always produces the exact same system. Atomic Upgrades: System changes complete fully or not at all, preventing broken states. Rollbacks: You can instantly revert to any previous system configuration if something goes wrong. This reproducibility also includes per-user settings via home-manager. ...

August 17, 2025 · 1 min · Kristian Alexander P

Archlinux Emacs installation

Emacs installation Emacs export to pdf need package texlive-latexextra, and texlive-plaingeneric Latex. Backlinks rustup

August 16, 2025 · 1 min · Kristian Alexander P

emacs

Emacs is a powerful, extensible, customizable, self-documenting, and free/libre text editor. At its core, it is an interpreter for Emacs Lisp, a dialect of the Lisp programming language. This allows users to extend and modify the editor for nearly any task, from programming and writing to email, file management, and personal organization (via org-mode). It is famously described as “a great operating system, lacking only a decent text editor.” Backlinks Archlinux Emacs installation [Blog] My Org+Pandoc Workflow : r/emacs org-roam org-agenda alphapapa/org-protocol-capture-html: Capture HTML from the browser selection into Emacs as org-mode content org-mode systemd notmuch Emacs: consult-line-symbol-at-point org-mode hugo

August 16, 2025 · 1 min · Kristian Alexander P

Latex

Latex in linux Backlinks Archlinux Emacs installation

August 16, 2025 · 1 min · Kristian Alexander P

org-mode

a mode for document editing, formatting, and organizing within the free software text editor GNU Emacs and its derivatives, designed for notes, planning, and authoring. Backlinks emacs

August 16, 2025 · 1 min · Kristian Alexander P

org-roam

Org-roam is a tool for networked thought. It reproduces some of Roam Research’s 1 key features within Org-mode. Org-roam allows for effortless non-hierarchical note-taking: with Org-roam, notes flow naturally, making note-taking fun and easy. Backlinks Org-roam User Manual How I Take Notes with Org-roam

August 16, 2025 · 1 min · Kristian Alexander P

daemon

Daemon In computing, a daemon (also spelled demon) is a computer program that runs in the background, performing tasks without direct user interaction. It’s like a helpful assistant that quietly handles various system operations Backlinks rust daemonize

August 5, 2025 · 1 min · Kristian Alexander P