rename reflake to rerice

This commit is contained in:
2026-02-19 15:49:13 -06:00
parent aa55dc0251
commit 98b245bbf0
2 changed files with 2 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
{ config, pkgs, ... }: { pkgs, ... }:
{ {
systemd.user.services."nvim-config" = { systemd.user.services."nvim-config" = {

View File

@@ -11,7 +11,7 @@ zstyle :compinstall filename '/home/poslop/.zshrc'
autoload -Uz compinit autoload -Uz compinit
compinit compinit
reflake() { rerice() {
local flake_dir="/etc/rice-flakes" local flake_dir="/etc/rice-flakes"
host="${1:-$(hostname -s)}" host="${1:-$(hostname -s)}"
sudo nixos-rebuild switch --flake "${flake_dir}#${host}" sudo nixos-rebuild switch --flake "${flake_dir}#${host}"