nixos-config/machines/smithers/configuration.nix
2023-12-13 23:18:01 +01:00

31 lines
858 B
Nix

{ config, lib, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
../../roles/all.nix
../../roles/laptop.nix
# import hardware specific settings
<nixos-hardware/framework/13-inch/7040-amd>
];
# disable the include of TLP because we get the fancy AMD one from nixos-hardwware
my.includeTLP = false;
# Don't wake from sleep if plugged into AC
hardware.framework.amd-7040.preventWakeOnAC = true;
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "smithers";
# For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion .
system.stateVersion = "23.11"; # Did you read the comment?
}