From f4d77440fb153d2f38bf3c0852fedeaec5392d10 Mon Sep 17 00:00:00 2001 From: Ivan Bushchik Date: Sun, 30 Jul 2023 10:27:10 +0300 Subject: [PATCH] Cleanup celerrime config Signed-off-by: Ivan Bushchik --- machines/celerrime/configuration.nix | 2 +- machines/celerrime/hardware.nix | 10 +--------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/machines/celerrime/configuration.nix b/machines/celerrime/configuration.nix index 5bfbfc4..db9e313 100644 --- a/machines/celerrime/configuration.nix +++ b/machines/celerrime/configuration.nix @@ -3,7 +3,7 @@ { imports = [ ]; networking.hostName = "celerrime"; - # Use the systemd-boot EFI boot loader. + boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = false; } diff --git a/machines/celerrime/hardware.nix b/machines/celerrime/hardware.nix index 18a6182..3a98948 100644 --- a/machines/celerrime/hardware.nix +++ b/machines/celerrime/hardware.nix @@ -1,6 +1,3 @@ -# Do not modify this file! It was generated by ‘nixos-generate-config’ -# and may be overwritten by future invocations. Please make changes -# to /etc/nixos/configuration.nix instead. { config, lib, pkgs, modulesPath, ... }: { @@ -31,13 +28,8 @@ ]; hardware.asahi.peripheralFirmwareDirectory = ../../asahi/firmware; hardware.asahi.addEdgeKernelConfig = true; - # Enables DHCP on each ethernet and wireless interface. In case of scripted networking - # (the default) this is the recommended approach. When using systemd-networkd it's - # still possible to use this option, but it's recommended to use it in conjunction - # with explicit per-interface declarations with `networking.interfaces..useDHCP`. + hardware.asahi.useExperimentalGPUDriver = true; networking.useDHCP = lib.mkDefault true; - # networking.interfaces.enu1u2u1.useDHCP = lib.mkDefault true; - # networking.interfaces.wlan0.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux"; powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";