Compare commits
9 Commits
fa9414149d
...
5fca31d1ee
| Author | SHA1 | Date | |
|---|---|---|---|
|
5fca31d1ee
|
|||
|
d689def4e4
|
|||
|
5692a2a781
|
|||
|
41e31855d5
|
|||
|
19d43ff902
|
|||
|
10657a471b
|
|||
|
4db76a34f0
|
|||
|
b8ed5984df
|
|||
|
a35d536b75
|
13
packages/handy.nix
Normal file
13
packages/handy.nix
Normal 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];
|
||||||
|
}
|
||||||
@@ -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";
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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";
|
||||||
|
|||||||
Reference in New Issue
Block a user