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";