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,8 +2,9 @@
lib,
config,
...
}: with lib; let
cfg = config.mySystem.hardware.fingerprint;
}:
with lib; let
cfg = config.mySystem.hardware.fingerprint;
in {
options.mySystem.hardware.fingerprint.enable = mkEnableOption "Enable fingerprint reader";
config = mkIf cfg.enable {

View File

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

View File

@@ -6,6 +6,9 @@
}:
with lib; let
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 {
programs.bun.enable = true;
home.packages = with pkgs; [
@@ -40,14 +43,15 @@ in {
# Misc
bitwarden-desktop
gplates
handy
libnotify
nextcloud-client
onlyoffice-desktopeditors
pumo-system-info
scrcpy
syncthing
watchmate
inputs.zen-browser.packages.${system}.default
inputs.pumo-system-info.packages.${system}.default
zen
# Games
atlauncher

View File

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