Skip to content

Instantly share code, notes, and snippets.

View 573's full-sized avatar

Daniel Kahlenberg 573

View GitHub Profile

A sensible NixOS Xfce Configuration

NixOS provides good support for the Xfce desktop environment out-of-the-box, but the defaults are minimal. The files in this Gist provide a more complete experience, including a suite of basic software and plugins as well as an optional home-manager configuration for theming.

The key additions to the default Xfce provided by NixOS are:

  • Complete bluetooth / audio support with panel indicators and apps
  • LightDM with theme
  • Extra Xfce apps for calendaring, disk partitioning, etc.
  • Various quality-of-life improving non-essentials
@573
573 / readme.md
Last active June 19, 2025 19:17
playlist m3u android

ls -1 | egrep '.*m4a' -o | sed -e "s/^'//" > out.m3u

@573
573 / .emacs
Created May 8, 2025 09:48 — forked from amygrinn/.emacs
Autoshare -> Tasker -> Termux -> Org Protocol -> Org Capture
;; Required setup for emacs init file
(package-initialize)
(require 'org)
(require 'org-protocol)
;; Set 'my-org-directory' to the base directory of all of
;; your org files (with a trailing slash). For me it's:
(setq my-org-directory "/scp:org:/home/orgmode/")
;; But it could be a local directory for you
@573
573 / readme.md
Created March 16, 2025 13:39
universal-android-debloater on non-nixos system

nix run --impure github:nix-community/nixGL -- nix run nixpkgs#universal-android-debloater

@573
573 / DOT.emacs
Last active March 14, 2025 12:06
fix for emacs wordlist utf-8 used for completion contains garbled isolatin when used with cape package (cape-dict)
;; For Windows emacs this file belongs to $env:APPDATA
;; (GNU Emacs 29.4 (build 2, x86_64-w64-mingw32) of 2024-07-05)
;; If you don't have MELPA in your package archives:
(require 'package)
(add-to-list
'package-archives
'("melpa" . "http://melpa.org/packages/") t)
(add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/") t) ; Org-mode's repository
(package-initialize)
(package-refresh-contents)
@573
573 / readme.md
Created March 10, 2025 10:11
nix python package should find git i. e. jupyterlab-git or jupyterhub

$ nix shell nixpkgs#nixVersions.nix_2_20 --command nix-shell --pure with

let

 nixpkgs = builtins.fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-24.11";

 pkgs = import nixpkgs { config = {}; overlays = []; };