Compare commits

...

1 Commits

Author SHA1 Message Date
7e88f2e5f8
pkgs/himitsu-keyring,hiprompt-gtk-py: init 2023-11-21 08:15:10 -07:00
5 changed files with 132 additions and 2 deletions

View File

@ -304,6 +304,8 @@
kobuddy = upkgs.python3Packages.callPackage ./pkgs/kobuddy.nix {
inherit upkgs;
};
hiprompt-gtk-py = upkgs.callPackage ./pkgs/hiprompt-gtk-py.nix { };
himitsu-keyring = upkgs.callPackage ./pkgs/himitsu-keyring.nix { };
bandcamp-downloader = upkgs.python3Packages.callPackage ./pkgs/bandcamp-downloader.nix {
inherit upkgs;
};

View File

@ -135,7 +135,13 @@ in
interfaces.enp7s0 = { useDHCP = true; };
firewall = {
interfaces = { "tailscale0" = { allowedTCPPorts = [ 3030 ]; }; };
interfaces = {
"tailscale0" = {
allowedTCPPorts = [
3030 # loki
];
};
};
interfaces = {
"wg0" = {
allowedTCPPorts = [

View File

@ -195,6 +195,12 @@ in
services.xinCA = { enable = false; };
services = {
rimgo = {
enable = true;
settings = {
FORCE_WEPP = "1";
};
};
fprintd.enable = true;
avahi = {
enable = true;
@ -331,7 +337,6 @@ in
git-credential-1password
gqrx
hackrf
himitsu
isync
klavaro
leiningen
@ -369,6 +374,9 @@ in
#yubioath-flutter
zig
(callPackage ../../pkgs/himitsu.nix { })
(callPackage ../../pkgs/hiprompt-gtk-py.nix {})
(callPackage ../../pkgs/himitsu-keyring.nix {})
(callPackage ../../pkgs/ttfs.nix { })
(callPackage ../../pkgs/clilol.nix { })
(callPackage ../../pkgs/iamb.nix { })

58
pkgs/himitsu-keyring.nix Normal file
View File

@ -0,0 +1,58 @@
# https://github.com/NixOS/nixpkgs/pull/179022
{ lib
, stdenv
, fetchFromSourcehut
, desktop-file-utils
, glib
, gobject-introspection
, gtk3
, gtk-layer-shell
, meson
, ninja
, pkg-config
, libhandy
, python3
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "keyring";
version = "0.1.0";
src = fetchFromSourcehut {
name = pname + "-src";
owner = "~martijnbraam";
repo = pname;
rev = "c4706fff5ccc72cd9e524b8cf51fd048f67ee415";
hash = "sha256-csNCfy2fPOO2RAOHHGiBfI+HuG2BsbLzbterE63TVqs=";
};
nativeBuildInputs = [
desktop-file-utils
glib
meson
ninja
pkg-config
wrapGAppsHook
];
buildInputs = [
glib
gobject-introspection
libhandy
gtk3
gtk-layer-shell
(python3.withPackages (pp: with pp; [
pygobject3
]))
];
meta = with lib; {
homepage = "https://git.sr.ht/~martijnbraam/keyring/";
description = "Himitsu keystore frontend";
license = licenses.gpl3Only;
maintainers = with maintainers; [ auchter ];
platforms = platforms.linux;
};
}

56
pkgs/hiprompt-gtk-py.nix Normal file
View File

@ -0,0 +1,56 @@
# https://github.com/NixOS/nixpkgs/pull/179022
{ lib
, stdenv
, fetchFromSourcehut
, desktop-file-utils
, glib
, gobject-introspection
, gtk3
, gtk-layer-shell
, meson
, ninja
, pkg-config
, python3
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "hiprompt-gtk-py";
version = "unstable-2023-01-23";
src = fetchFromSourcehut {
name = pname + "-src";
owner = "~sircmpwn";
repo = pname;
rev = "8d6ef1d042ec2731f84245164094e622f4be3f2d";
hash = "sha256-W2oDen9XkvoGOX9mshvUFBdkCGTr4SSTqQRDzayi2hc=";
};
nativeBuildInputs = [
desktop-file-utils
glib
meson
ninja
pkg-config
wrapGAppsHook
];
buildInputs = [
glib
gobject-introspection
gtk3
gtk-layer-shell
(python3.withPackages (pp: with pp; [
pygobject3
]))
];
meta = with lib; {
homepage = "https://git.sr.ht/~sircmpwn/hiprompt-gtk-py";
description = "A GTK+ Himitsu prompter for Wayland";
license = licenses.gpl3Only;
maintainers = with maintainers; [ auchter ];
platforms = platforms.linux;
};
}