kekl
This commit is contained in:
@ -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";
|
||||
|
@ -10,6 +10,7 @@
|
||||
./services.nix
|
||||
./firefox.nix
|
||||
./pkgs.nix
|
||||
./rf.nix
|
||||
];
|
||||
|
||||
xdg = {
|
||||
|
@ -102,9 +102,9 @@
|
||||
qbittorrent
|
||||
superTuxKart
|
||||
adwaita-icon-theme
|
||||
];
|
||||
viewnior
|
||||
];
|
||||
|
||||
|
||||
fonts = {
|
||||
fontconfig.enable = true;
|
||||
packages = with pkgs; [
|
||||
|
47
hosts/default/system/rf.nix
Normal file
47
hosts/default/system/rf.nix
Normal 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 ];
|
||||
}
|
Reference in New Issue
Block a user