This commit is contained in:
Sojus07
2025-06-02 00:24:17 +02:00
parent 3e5e10f5b5
commit 45d64858bd
4 changed files with 58 additions and 3 deletions

View File

@ -5,6 +5,12 @@
swaybg
slurp
dunst
xdg-desktop-portal
xdg-desktop-portal-gtk
xdg-desktop-portal-wlr
xdg-desktop-portal-gnome
];
wayland.windowManager.sway = {
enable = true;
@ -40,7 +46,8 @@
"${modifier}+space" = "exec ${menu}";
"${modifier}+Q" = "kill";
"${modifier}+Shift+R" = "reload";
"${modifier}+Shift+S" = "grim -g '$(slurp)'";
"Print" = "flameshot gui";
# WINDOW STUFF #
"${modifier}+Shift+space" = "floating toggle";
"${modifier}+Shift+F" = "fullscreen toggle";

View File

@ -10,6 +10,7 @@
./services.nix
./firefox.nix
./pkgs.nix
./rf.nix
];
xdg = {

View File

@ -102,9 +102,9 @@
qbittorrent
superTuxKart
adwaita-icon-theme
];
viewnior
];
fonts = {
fontconfig.enable = true;
packages = with pkgs; [

View File

@ -0,0 +1,47 @@
{ config, pkgs, ... }:
{
environment.systemPackages =
let
satdump = with pkgs;
stdenv.mkDerivation rec {
pname = "satdump";
version = "1.2.0";
src = fetchgit {
url = "https://github.com/SatDump/SatDump.git";
rev = version;
sha256 = "sha256-QGegi5/geL5U3/ecc3hsdW+gp25UE9fOYVLFJUo/N50=";
};
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [
# required deps
fftwFloat
libpng
libtiff
jemalloc
volk
(nng.overrideAttrs (old: {
cmakeFlags = old.cmakeFlags ++ [ "-DBUILD_SHARED_LIBS=ON" ];
}))
rtl-sdr-librtlsdr
hackrf
airspy
airspyhf
glfw
zenity
zstd
# optional hw support
libad9361
libiio
];
cmakeFlags = [
"-DCMAKE_BUILD_TYPE=Release"
];
};
in
[ satdump ];
}