2024-12-17 15:26:10 -05:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./hardware-configuration.nix
|
|
|
|
./disk-config.nix
|
2024-12-23 10:00:01 -05:00
|
|
|
./optimized_build.nix
|
2024-12-31 07:42:46 -05:00
|
|
|
./power_management.nix
|
2024-12-31 12:51:23 -05:00
|
|
|
./screen_brightness.nix
|
2025-01-18 11:48:53 -05:00
|
|
|
./wifi.nix
|
2024-12-17 15:26:10 -05:00
|
|
|
];
|
|
|
|
|
|
|
|
# Generate with `head -c4 /dev/urandom | od -A none -t x4`
|
|
|
|
networking.hostId = "908cbf04";
|
|
|
|
|
|
|
|
networking.hostName = "odo"; # Define your hostname.
|
|
|
|
|
|
|
|
time.timeZone = "America/New_York";
|
2025-01-01 19:59:02 -05:00
|
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
2024-12-22 10:58:01 -05:00
|
|
|
|
|
|
|
me.secureBoot.enable = true;
|
2024-12-26 21:28:31 -05:00
|
|
|
|
|
|
|
# Early KMS
|
|
|
|
boot.initrd.kernelModules = [ "amdgpu" ];
|
2024-12-28 21:05:45 -05:00
|
|
|
|
|
|
|
# Mount tmpfs at /tmp
|
|
|
|
boot.tmp.useTmpfs = true;
|
2025-01-09 23:31:27 -05:00
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
fw-ectool
|
|
|
|
];
|
2025-01-10 22:54:32 -05:00
|
|
|
|
|
|
|
me.graphical = true;
|
|
|
|
me.graphicsCardType = "amd";
|
2024-12-17 15:26:10 -05:00
|
|
|
}
|