Skip to content

Commit

Permalink
fix deprecation on rpi
Browse files Browse the repository at this point in the history
  • Loading branch information
sweenu committed Mar 19, 2024
1 parent 24f3c27 commit 35e830c
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions hosts/grunfeld/default.nix
Original file line number Diff line number Diff line change
@@ -1,20 +1,13 @@
{ lib, pkgs, config, suites, ... }:
{ pkgs, config, suites, ... }:
let
najdorfRootKey = ''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPpe019oujhjgqS0Xif2soaQpxJiZSrMr9rhmII958qU root@najdorf'';
in
{
imports = suites.server ++ [ ./snapserver.nix ./3proxy.nix ];

boot = {
loader = {
grub.enable = false;
raspberryPi = {
enable = true;
version = 3;
uboot.enable = true;
};
generic-extlinux-compatible.enable = lib.mkForce false; # incompatible with raspberryPi.enable = true
};
loader.grub.enable = false;
loader.generic-extlinux-compatible.enable = true;
kernelParams = [ "cma=32M" ];
kernelPackages = pkgs.linuxPackages_5_10;
};
Expand Down Expand Up @@ -63,7 +56,7 @@ in

services.avahi = {
enable = true;
nssmdns = true;
nssmdns4 = true;
publish = {
enable = true;
addresses = true;
Expand Down

0 comments on commit 35e830c

Please sign in to comment.