Compare commits

...

8 commits

Author SHA1 Message Date
b259b18026
add istioctl 2026-05-12 12:33:31 -04:00
b2c161f2c5
add lfk 2026-05-05 11:00:23 -04:00
189734ba0b
add repeater 2026-05-03 17:10:27 -04:00
ffedb0d8b7
add udiskie 2026-05-03 17:06:48 -04:00
cfb712fab3
add nix tools 2026-05-03 17:06:20 -04:00
37cf3136b1
add feishin 2026-05-03 17:02:20 -04:00
5474360f59
Update bluetooth config 2026-05-03 17:00:23 -04:00
2afb5fecbb
disable clamav daemon 2026-05-03 16:58:20 -04:00
14 changed files with 126 additions and 3 deletions

2
.gitignore vendored
View file

@ -1,2 +1,2 @@
.stfolder/ .stfolder
.stversions/ .stversions/

0
.stfolder Normal file
View file

View file

@ -45,6 +45,8 @@
"x86_64-darwin" "x86_64-darwin"
"aarch64-darwin" "aarch64-darwin"
]; ];
flake.overlays.default = import ./overlays;
perSystem = perSystem =
{ pkgs, ... }: { pkgs, ... }:
{ {

View file

@ -11,6 +11,16 @@
enable = lib.mkForce true; enable = lib.mkForce true;
powerOnBoot = true; powerOnBoot = true;
}; };
hardware.bluetooth.settings = {
Input = {
# This allows the BLE handshake to bypass classic security checks
ClassicBondedOnly = false;
};
General = {
# Helps with the "AuthenticationCanceled" error
JustWorksRepairing = "always";
};
};
services.upower = { services.upower = {
enable = true; enable = true;

View file

@ -45,6 +45,7 @@
''; '';
in in
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
kdePackages.dolphin kdePackages.dolphin
kdePackages.kio kdePackages.kio
@ -53,7 +54,8 @@
kdePackages.ark kdePackages.ark
kdePackages.ffmpegthumbs kdePackages.ffmpegthumbs
kdePackages.kdegraphics-thumbnailers kdePackages.kdegraphics-thumbnailers
# whitesur-icon-theme kdePackages.kpipewire
whitesur-icon-theme
]; ];
# Helps some non-KDE apps pick Dolphin for directory browsing. # Helps some non-KDE apps pick Dolphin for directory browsing.
@ -138,6 +140,14 @@
"application/x-rar" "application/x-rar"
]; ];
}; };
services.udiskie = {
enable = true;
settings = {
program_options = {
file_manager = "${pkgs.kdePackages.dolphin}/bin/dolphin";
};
};
};
home.sessionVariables = { home.sessionVariables = {
XDG_ICON_DIR = "${pkgs.whitesur-icon-theme}/share/icons/WhiteSur"; XDG_ICON_DIR = "${pkgs.whitesur-icon-theme}/share/icons/WhiteSur";

View file

@ -9,6 +9,7 @@
ticktick ticktick
gimp gimp
vlc vlc
feishin
]; ];
} }
) )

View file

@ -5,6 +5,8 @@
( (
{ pkgs, ... }: { pkgs, ... }:
{ {
services.udisks2.enable = true;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
wlr-randr wlr-randr
wl-clipboard wl-clipboard

View file

@ -16,6 +16,8 @@
kubernetes-helm # Package manager for Kubernetes applications, simplifying deployment and management. kubernetes-helm # Package manager for Kubernetes applications, simplifying deployment and management.
minikube # Local Kubernetes cluster for easy testing and development. minikube # Local Kubernetes cluster for easy testing and development.
stern # Multi-container log tailing and streaming for Kubernetes. stern # Multi-container log tailing and streaming for Kubernetes.
lfk
istioctl
]; ];
} }
) )

View file

@ -7,11 +7,18 @@
pkgs, pkgs,
... ...
}: }:
# let
# repeater = pkgs.callPackage ../../../../pkgs/repeater.nix { };
# in
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
vhs vhs
libqalculate libqalculate
nurl
nix-init
nixpkgs-review
repeater
]; ];
} }
) )

View file

@ -5,7 +5,7 @@
]; ];
services.clamav = { services.clamav = {
daemon.enable = true; daemon.enable = false;
updater.enable = true; updater.enable = true;
scanner.enable = true; scanner.enable = true;
fangfrisch.enable = true; fangfrisch.enable = true;

View file

@ -95,6 +95,11 @@ let
}; };
modules = [ modules = [
{
nixpkgs.overlays = [
inputs.self.overlays.default
];
}
../inventory/current.nix ../inventory/current.nix
../inventory/features.nix ../inventory/features.nix
../inventory/hosts.nix ../inventory/hosts.nix

4
overlays/default.nix Normal file
View file

@ -0,0 +1,4 @@
final: prev: {
repeater = prev.callPackage ../pkgs/repeater/package.nix { };
lfk = prev.callPackage ../pkgs/lfk/package.nix { };
}

32
pkgs/lfk/package.nix Normal file
View file

@ -0,0 +1,32 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule (finalAttrs: {
pname = "lfk";
version = "0.9.36";
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "janosmiko";
repo = "lfk";
tag = "v${finalAttrs.version}";
hash = "sha256-aIWqZ90Mz6Oc554wLB4691JsX68VG0pD3+AuAOkqNis=";
};
vendorHash = "sha256-2YhpOg5asUYaMQxorwTt1gkyiA165wjBxDoIUJ74sro=";
ldflags = [ "-s" ];
meta = {
description = "Lightning Fast Kubernetes navigator";
longDescription = "LFK is a lightning-fast, keyboard-focused, yazi-inspired terminal user interface for navigating and managing Kubernetes clusters. Built for speed and efficiency, it brings a three-column Miller columns layout with an owner-based resource hierarchy to your terminal";
homepage = "https://github.com/janosmiko/lfk";
changelog = "https://github.com/janosmiko/lfk/blob/${finalAttrs.src.tag}/CHANGELOG.md";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ gwg313 ];
mainProgram = "lfk";
};
})

48
pkgs/repeater/package.nix Normal file
View file

@ -0,0 +1,48 @@
{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
bzip2,
sqlite,
vulkan-loader,
zstd,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "repeater";
version = "0.1.9";
src = fetchFromGitHub {
owner = "shaankhosla";
repo = "repeater";
tag = "v${finalAttrs.version}";
hash = "sha256-vkiDJ9hGEa9PCaNjgGJAvAFGUxXJK04ezvXyAmJB3bk=";
};
cargoHash = "sha256-/ttQpk9JnSRhE/VOJlz60LpV1PJ/spzXQ1EPLcox1mw=";
nativeBuildInputs = [
pkg-config
];
buildInputs = [
bzip2
sqlite
vulkan-loader
zstd
];
env = {
ZSTD_SYS_USE_PKG_CONFIG = true;
};
meta = {
description = "Spaced repetition, in your terminal";
homepage = "https://github.com/shaankhosla/repeater";
changelog = "https://github.com/shaankhosla/repeater/blob/${finalAttrs.src.rev}/CHANGELOG.md";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ ];
mainProgram = "repeater";
};
})