1
0
Fork 0

Update deps

This commit is contained in:
Daniel Kempkens 2023-06-26 15:29:32 +02:00
parent 6fb8cf72c4
commit 2387ce60b5
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
3 changed files with 5 additions and 11 deletions

View file

@ -69,7 +69,7 @@
};
adsb-antenna = import ./system/flakes/adsb-antenna.nix {
inherit (inputs) nixpkgs deploy-rs home-manager;
inherit (inputs) nixpkgs nixos-hardware deploy-rs home-manager;
inherit inputs;
};
in

View file

@ -4,14 +4,8 @@
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot = {
initrd = {
availableKernelModules = [ "xhci_pci" "usbhid" ];
kernelModules = [ ];
};
kernelModules = [ "tcp_bbr" ];
extraModulePackages = [ ];
blacklistedKernelModules = [ "rtl2832" "dvb_usb_rtl28xxu" "rtl2832_sdr" ];
kernel.sysctl = {
@ -24,7 +18,7 @@
};
fileSystems."/" = {
device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
device = "/dev/disk/by-label/NIXOS_SD";
fsType = "ext4";
};
@ -38,6 +32,4 @@
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.eth0.useDHCP = lib.mkDefault true;
# networking.interfaces.wlan0.useDHCP = lib.mkDefault true;
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
}

View file

@ -1,4 +1,4 @@
{ nixpkgs, deploy-rs, home-manager, inputs, ... }:
{ nixpkgs, nixos-hardware, deploy-rs, home-manager, inputs, ... }:
let
default-system = "aarch64-linux";
@ -30,6 +30,8 @@ rec {
modules = [
../hosts/adsb-antenna.nix
nixos-hardware.nixosModules.raspberry-pi-4
home-manager.nixosModules.home-manager
{