nixos-config/machines/smithers/configuration.nix

31 lines
858 B
Nix
Raw Normal View History

2023-12-01 15:58:54 +00:00
{ 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;
2023-12-13 22:18:01 +00:00
# Don't wake from sleep if plugged into AC
hardware.framework.amd-7040.preventWakeOnAC = true;
2023-12-01 15:58:54 +00:00
# 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?
}