From 5873d471937d6ab9b2b84eb66c5bb8dfcad2c9a8 Mon Sep 17 00:00:00 2001 From: Kate Date: Fri, 23 May 2025 13:42:25 +0200 Subject: [PATCH] design: work around weird xonsh coreutils behavior --- nixos/hosts/design.nix | 3 ++- xonsh/localhost.xsh | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/nixos/hosts/design.nix b/nixos/hosts/design.nix index 1c6be88..d192133 100644 --- a/nixos/hosts/design.nix +++ b/nixos/hosts/design.nix @@ -1,4 +1,4 @@ -{ deprekages, lib, ... }: +{ deprekages, lib, pkgs, ... }: { system.stateVersion = "24.05"; @@ -6,6 +6,7 @@ # Use OpenKeychain on Android environment.packages = [ deprekages.okc-agents + pkgs.uutils-coreutils-noprefix ]; # Set up nix for flakes diff --git a/xonsh/localhost.xsh b/xonsh/localhost.xsh index d0f4825..7c41710 100644 --- a/xonsh/localhost.xsh +++ b/xonsh/localhost.xsh @@ -19,7 +19,9 @@ $PULSE_SERVER="tcp:127.0.0.1:4713" try_source("includes/add-ssh-keys.xsh") try_source("includes/nixos.xsh") + aliases['rebuild'] = "nix-on-droid --flake '~/dotfiles#design'" +del aliases['cd'] $XDG_DATA_DIRS = [ "/usr/share",