Compare commits

..

9 Commits

5 changed files with 32 additions and 11 deletions

13
packages/handy.nix Normal file
View File

@@ -0,0 +1,13 @@
{
appimageTools,
fetchurl,
}:
appimageTools.wrapType2 rec {
pname = "handy";
version = "0.7.6";
src = fetchurl {
url = "https://github.com/cjpais/Handy/releases/download/v${version}/Handy_${version}_amd64.AppImage";
hash = "sha256-UZNt3lfKo6dBRWK1YD03HmcZsx/Zu2J3eD5VdTw+poU=";
};
extraPkgs = pkgs: [pkgs.wtype];
}

View File

@@ -2,7 +2,8 @@
lib, lib,
config, config,
... ...
}: with lib; let }:
with lib; let
cfg = config.mySystem.hardware.fingerprint; cfg = config.mySystem.hardware.fingerprint;
in { in {
options.mySystem.hardware.fingerprint.enable = mkEnableOption "Enable fingerprint reader"; options.mySystem.hardware.fingerprint.enable = mkEnableOption "Enable fingerprint reader";

View File

@@ -2,21 +2,19 @@
pkgs, pkgs,
config, config,
... ...
}: }: let
let
inherit (config.home) gpuType; inherit (config.home) gpuType;
in in {
{
programs.btop = { programs.btop = {
enable = true; enable = true;
package = package =
if gpuType != null then if gpuType != null
then
pkgs.btop.override { pkgs.btop.override {
rocmSupport = gpuType == "amd"; rocmSupport = gpuType == "amd";
cudaSupport = gpuType == "nvidia"; cudaSupport = gpuType == "nvidia";
} }
else else pkgs.btop;
pkgs.btop;
settings = { settings = {
color_theme = "${pkgs.btop}/share/btop/themes/nord.theme"; color_theme = "${pkgs.btop}/share/btop/themes/nord.theme";
cpu_bottom = false; cpu_bottom = false;

View File

@@ -6,6 +6,9 @@
}: }:
with lib; let with lib; let
inherit (pkgs.stdenv.hostPlatform) system; inherit (pkgs.stdenv.hostPlatform) system;
handy = pkgs.callPackage ../../packages/handy.nix {};
pumo-system-info = inputs.pumo-system-info.packages.${system}.default;
zen = inputs.zen-browser.packages.${system}.default;
in { in {
programs.bun.enable = true; programs.bun.enable = true;
home.packages = with pkgs; [ home.packages = with pkgs; [
@@ -40,14 +43,15 @@ in {
# Misc # Misc
bitwarden-desktop bitwarden-desktop
gplates gplates
handy
libnotify libnotify
nextcloud-client nextcloud-client
onlyoffice-desktopeditors onlyoffice-desktopeditors
pumo-system-info
scrcpy scrcpy
syncthing syncthing
watchmate watchmate
inputs.zen-browser.packages.${system}.default zen
inputs.pumo-system-info.packages.${system}.default
# Games # Games
atlauncher atlauncher

View File

@@ -57,6 +57,11 @@
desc = "Gimp"; desc = "Gimp";
cmd = "${pkgs.gimp}/bin/gimp"; cmd = "${pkgs.gimp}/bin/gimp";
} }
{
key = "h";
desc = "Handy";
cmd = "pkill -USR2 -n handy";
}
{ {
key = "n"; key = "n";
desc = "Nemo"; desc = "Nemo";