From ca06b7068304e679f618ab9d878d62cd15f2522f Mon Sep 17 00:00:00 2001 From: minco Date: Mon, 18 May 2026 13:09:40 +0900 Subject: [PATCH] add kicad --- configuration.nix | 1 + home.nix | 2 +- modules/home/bash.nix | 2 +- modules/home/fish/aliases.nix | 2 ++ modules/home/fish/functions.nix | 3 ++- overlays/bambu-studio.nix | 4 ++-- pkgs/tools.nix | 3 ++- pkgs/unstable.nix | 4 +++- pkgs/util.nix | 1 + 9 files changed, 15 insertions(+), 7 deletions(-) diff --git a/configuration.nix b/configuration.nix index ee233ee..edcb418 100644 --- a/configuration.nix +++ b/configuration.nix @@ -184,6 +184,7 @@ in isNormalUser = true; extraGroups = [ "wheel" + "input" "incus-admin" "wireshark" "podman" diff --git a/home.nix b/home.nix index e4df241..081dc25 100644 --- a/home.nix +++ b/home.nix @@ -37,7 +37,7 @@ games = import ./pkgs/games.nix { inherit pkgs; }; unstable = import (builtins.fetchTarball { url = "https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz"; - sha256 = "1ijgd8hy1ii0k0s48yhnzw09c7zdjnp1fq8wfj7jgajwmlfwy3xg"; + sha256 = "1485vqhb8cwym1m75v61i10j427vazszaklkwj2wmm80k8sijjyz"; }) { system = "x86_64-linux"; }; unstables = import ./pkgs/unstable.nix { inherit pkgs; diff --git a/modules/home/bash.nix b/modules/home/bash.nix index 4e2c24f..980c470 100644 --- a/modules/home/bash.nix +++ b/modules/home/bash.nix @@ -4,7 +4,7 @@ enable = true; enableCompletion = true; initExtra = '' - export PATH="$HOME/.local/bin:$PATH" + export PATH="$HOME/.cargo/bin:$HOME/.local/bin:$PATH" ''; }; } diff --git a/modules/home/fish/aliases.nix b/modules/home/fish/aliases.nix index 9d1fe29..6fa5f2f 100644 --- a/modules/home/fish/aliases.nix +++ b/modules/home/fish/aliases.nix @@ -8,8 +8,10 @@ "dry-rb" = "sudo nixos-rebuild dry-build --flake ~/nixos-config#"; devim = "NVIM_APPNAME=nvim-dev nvim"; win = "grub-reboot 'Windows Boot Manager (on /dev/sda2)' && reboot"; + qwer = "reboot"; zxcv = "shutdown now"; + lg = "lazygit"; }; } diff --git a/modules/home/fish/functions.nix b/modules/home/fish/functions.nix index 8023c1f..8dd5650 100644 --- a/modules/home/fish/functions.nix +++ b/modules/home/fish/functions.nix @@ -19,6 +19,7 @@ if test -f $HOME/.config/fish/kube.fish source $HOME/.config/fish/kube.fish end + + fish_add_path $HOME/.cargo/bin ''; } - diff --git a/overlays/bambu-studio.nix b/overlays/bambu-studio.nix index 4b5d66d..e4485a7 100644 --- a/overlays/bambu-studio.nix +++ b/overlays/bambu-studio.nix @@ -6,8 +6,8 @@ final: prev: { ubuntu_version = "24.04"; src = prev.fetchurl { - url = "https://github.com/bambulab/BambuStudio/releases/download/v02.06.00.51/BambuStudio_ubuntu-24.04-v02.06.00.51-20260417160415.AppImage"; - sha256 = "sha256-CYePefJ7FXcAK+OXsIaNRHkml18BA7um4W2+f6l49zQ="; + url = "https://github.com/bambulab/BambuStudio/releases/download/v02.07.00.55/BambuStudio_ubuntu-24.04-v02.07.00.55-20260514170313.AppImage"; + sha256 = "sha256-7zdTsLyw509iNPbt1VIDPL937E0aZYEJNftQGZcF5sY="; }; profile = '' diff --git a/pkgs/tools.nix b/pkgs/tools.nix index 1ac5233..56fdb48 100644 --- a/pkgs/tools.nix +++ b/pkgs/tools.nix @@ -35,7 +35,7 @@ with pkgs; vesktop discordo distrobox - kicad + #kicad youtube-music thunderbird yt-dlp @@ -73,4 +73,5 @@ with pkgs; iaito orca-slicer netbird-ui + sonic-visualiser ] diff --git a/pkgs/unstable.nix b/pkgs/unstable.nix index 84b2e60..98293d0 100644 --- a/pkgs/unstable.nix +++ b/pkgs/unstable.nix @@ -3,4 +3,6 @@ { pkgs, unstable, ... }: with pkgs; -[ ] +[ + unstable.kicad +] diff --git a/pkgs/util.nix b/pkgs/util.nix index b807589..8010d50 100644 --- a/pkgs/util.nix +++ b/pkgs/util.nix @@ -113,4 +113,5 @@ with pkgs; browsh kdePackages.qt6ct kitty + axel ]