From 4d7bd7ecfa72601a7367ae3d31fcc1e41cfd5ea0 Mon Sep 17 00:00:00 2001 From: Jimbo Date: Sun, 13 Oct 2024 11:56:39 -0400 Subject: [PATCH] Update Blender flake --- flake.lock | 2 +- flake.nix | 2 +- home/utils/zsh.nix | 17 ++++++++--------- 3 files changed, 10 insertions(+), 11 deletions(-) diff --git a/flake.lock b/flake.lock index 5cf5787..2c9a6df 100644 --- a/flake.lock +++ b/flake.lock @@ -14,7 +14,7 @@ }, "original": { "type": "tarball", - "url": "https://flakehub.com/f/edolstra/blender-bin/1.0.8.tar.gz" + "url": "https://flakehub.com/f/edolstra/blender-bin/1.0.9.tar.gz" } }, "blobs": { diff --git a/flake.nix b/flake.nix index 4afae91..4680652 100644 --- a/flake.nix +++ b/flake.nix @@ -6,7 +6,7 @@ unstable.url = "github:nixos/nixpkgs/nixos-unstable"; nur.url = "github:nix-community/NUR"; mailserver.url = "gitlab:simple-nixos-mailserver/nixos-mailserver/nixos-24.05"; - blender-bin.url = "https://flakehub.com/f/edolstra/blender-bin/1.0.8.tar.gz"; + blender-bin.url = "https://flakehub.com/f/edolstra/blender-bin/1.0.9.tar.gz"; minecraft.url = "github:Infinidoge/nix-minecraft"; hardware.url = "github:nixos/nixos-hardware/master"; diff --git a/home/utils/zsh.nix b/home/utils/zsh.nix index f619a52..0613ca9 100644 --- a/home/utils/zsh.nix +++ b/home/utils/zsh.nix @@ -1,4 +1,4 @@ -{pkgs, config, outputs, ...}: { +{ pkgs, config, ... }: { programs.zsh = { enable = true; autosuggestion.enable = true; @@ -9,19 +9,18 @@ plugins = ["git"]; }; shellAliases = { - # NixOS aliases - nixcfg = "${outputs.cmd.nixcfg}"; - nixclean = "${outputs.cmd.auth} nix-store --gc; nix-collect-garbage -d"; - nixpurge = "${outputs.cmd.auth} nix-collect-garbage --delete-old"; - nixoptimize = "${outputs.cmd.auth} nix store optimise"; - # Flake commands - flakedate = "${outputs.cmd.auth} nix flake update /etc/nixos"; - sysswitch = "${outputs.cmd.auth} nixos-rebuild switch --flake /etc/nixos"; + flakedate = "doas nix flake update /etc/nixos"; + sysswitch = "doas nixos-rebuild switch --flake /etc/nixos"; homeswitch = "home-manager switch --flake /etc/nixos"; nixswitch = "sysswitch; homeswitch"; nixdate = "flakedate && sysswitch; homeswitch"; + # NixOS aliases + nixclean = "doas nix-store --gc; nix-collect-garbage -d"; + nixpurge = "doas nix-collect-garbage --delete-old"; + nixoptimize = "doas nix store optimise"; + # Shortcut aliases neo = "clear && fastfetch"; ip = "ip -c";