fix deprecations and add sdr stuff

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

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; [