fix deprecations and add sdr stuff

This commit is contained in:
fuckwit 2024-11-25 10:32:26 +01:00
parent 30d45c55f6
commit f9bb7a157a
7 changed files with 83 additions and 3 deletions

View File

@ -15,6 +15,10 @@
vesktop
telegram-desktop
nixvim
gnuradio
rtl_433
urh
sdrpp
];
sessionPath = ["~/.local/bin"];
sessionVariables = {

View File

@ -0,0 +1,68 @@
{...}: {
programs.alacritty = {
enable = true;
settings = {
general.live_config_reload = true;
env.TERM = "xterm-256color";
bell.duration = 0;
cursor.style = "Block";
scrolling = {
history = 10000;
multiplier = 3;
};
window = {
opacity = 0.9;
};
mouse.bindings = [
{
mouse = "Middle";
action = "PasteSelection";
}
];
colors = {
primary = {
background = "0x000000";
foreground = "0xeaeaea";
};
# normal = {
# black = "0x000000";
# red = "0xd54e53";
# green = "0xb9ca4a";
# yellow = "0xe6c547";
# blue = "0x7aa6da";
# magenta = "0xc397d8";
# cyan = "0x70c0ba";
# white = "0xffffff";
# };
#
# bright = {
# black = "0x666666";
# red = "0xff3334";
# green = "0x9ec400";
# yellow = "0xe7c547";
# blue = "0x7aa6da";
# magenta = "0xb77ee0";
# cyan = "0x54ced6";
# white = "0xffffff";
# };
#
# dim = {
# black = "0x333333";
# red = "0xf2777a";
# green = "0x99cc99";
# yellow = "0xffcc66";
# blue = "0x6699cc";
# magenta = "0xcc99cc";
# cyan = "0x66cccc";
# white = "0xdddddd";
# };
};
};
};
}

View File

@ -1,4 +1,5 @@
[
./alacritty
./firefox
./hyprland
{

View File

@ -84,6 +84,9 @@ in {
zfs
lm_sensors
ffmpeg
rtl_433
dump1090
rtl-sdr
];
users.users."root".openssh.authorizedKeys.keys = [
@ -424,6 +427,8 @@ in {
};
hardware = {
rtl-sdr.enable = true;
fancontrol = {
enable = true;
config = ''

View File

@ -21,7 +21,6 @@
forceImportRoot = false;
extraPools = ["tank"];
};
boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
fileSystems."/" = {
device = "/dev/disk/by-uuid/3652c231-d679-42dd-80f1-e9afccb4ca13";
@ -34,6 +33,7 @@
allowDiscards = true;
keyFileSize = 4096;
keyFile = "/dev/disk/by-id/usb-Generic_Flash_Disk_D5A325A0-0:0";
tryEmptyPassphrase = true;
};
};

View File

@ -92,7 +92,7 @@ in {
np = nixpkgs;
system = "x86_64-linux";
ip = "192.168.1.11";
# remoteBuild = false;
remoteBuild = false;
file = ./celestia/configuration.nix;
};

View File

@ -33,6 +33,8 @@
extraPackages = [pkgs.vaapiVdpau];
};
hardware.rtl-sdr.enable = true;
hardware.bluetooth.enable = true;
security.pam.services.swaylock = {};
@ -111,7 +113,7 @@
users.users.patrick = {
isNormalUser = true;
extraGroups = ["wheel"];
extraGroups = ["wheel" "plugdev"];
};
environment.systemPackages = with pkgs; [