kekl
This commit is contained in:
@ -5,6 +5,12 @@
|
|||||||
swaybg
|
swaybg
|
||||||
slurp
|
slurp
|
||||||
dunst
|
dunst
|
||||||
|
|
||||||
|
xdg-desktop-portal
|
||||||
|
xdg-desktop-portal-gtk
|
||||||
|
xdg-desktop-portal-wlr
|
||||||
|
xdg-desktop-portal-gnome
|
||||||
|
|
||||||
];
|
];
|
||||||
wayland.windowManager.sway = {
|
wayland.windowManager.sway = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -40,7 +46,8 @@
|
|||||||
"${modifier}+space" = "exec ${menu}";
|
"${modifier}+space" = "exec ${menu}";
|
||||||
"${modifier}+Q" = "kill";
|
"${modifier}+Q" = "kill";
|
||||||
"${modifier}+Shift+R" = "reload";
|
"${modifier}+Shift+R" = "reload";
|
||||||
"${modifier}+Shift+S" = "grim -g '$(slurp)'";
|
"Print" = "flameshot gui";
|
||||||
|
|
||||||
# WINDOW STUFF #
|
# WINDOW STUFF #
|
||||||
"${modifier}+Shift+space" = "floating toggle";
|
"${modifier}+Shift+space" = "floating toggle";
|
||||||
"${modifier}+Shift+F" = "fullscreen toggle";
|
"${modifier}+Shift+F" = "fullscreen toggle";
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
./services.nix
|
./services.nix
|
||||||
./firefox.nix
|
./firefox.nix
|
||||||
./pkgs.nix
|
./pkgs.nix
|
||||||
|
./rf.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
xdg = {
|
xdg = {
|
||||||
|
@ -102,9 +102,9 @@
|
|||||||
qbittorrent
|
qbittorrent
|
||||||
superTuxKart
|
superTuxKart
|
||||||
adwaita-icon-theme
|
adwaita-icon-theme
|
||||||
|
viewnior
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
fonts = {
|
fonts = {
|
||||||
fontconfig.enable = true;
|
fontconfig.enable = true;
|
||||||
packages = with pkgs; [
|
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