2025-01-19 14:25:45 -05:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./hardware-configuration.nix
|
|
|
|
./disk-config.nix
|
|
|
|
./power_management.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
# Generate with `head -c4 /dev/urandom | od -A none -t x4`
|
2025-04-16 20:36:08 -04:00
|
|
|
networking.hostId = "bca9d0a5";
|
2025-01-19 14:25:45 -05:00
|
|
|
|
|
|
|
networking.hostName = "neelix"; # Define your hostname.
|
|
|
|
|
|
|
|
time.timeZone = "America/New_York";
|
|
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
|
|
|
|
|
|
|
me.secureBoot.enable = false;
|
|
|
|
|
2025-05-12 19:06:04 -04:00
|
|
|
me.optimizations = {
|
|
|
|
enable = false;
|
|
|
|
arch = "alderlake";
|
|
|
|
system_features = [
|
|
|
|
"gccarch-alderlake"
|
|
|
|
"gccarch-x86-64-v3"
|
|
|
|
"gccarch-x86-64-v4"
|
|
|
|
"benchmark"
|
|
|
|
"big-parallel"
|
|
|
|
"kvm"
|
|
|
|
"nixos-test"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2025-01-19 14:25:45 -05:00
|
|
|
# Early KMS
|
|
|
|
boot.initrd.kernelModules = [ "i915" ];
|
|
|
|
|
|
|
|
# Mount tmpfs at /tmp
|
2025-01-31 22:46:36 -05:00
|
|
|
# boot.tmp.useTmpfs = true;
|
2025-01-19 14:25:45 -05:00
|
|
|
|
2025-01-23 18:47:03 -05:00
|
|
|
me.bluetooth.enable = true;
|
|
|
|
me.emacs_flavor = "plainmacs";
|
2025-01-19 14:25:45 -05:00
|
|
|
me.graphical = true;
|
2025-01-23 19:09:59 -05:00
|
|
|
me.graphics_card_type = "intel";
|
2025-01-20 20:06:33 -05:00
|
|
|
me.kodi.enable = true;
|
2025-01-23 20:46:03 -05:00
|
|
|
me.lvfs.enable = true;
|
2025-01-23 21:25:19 -05:00
|
|
|
me.sound.enable = true;
|
2025-01-24 17:41:12 -05:00
|
|
|
me.wireguard.activated = [ "wgh" ];
|
|
|
|
me.wireguard.deactivated = [ "wgf" ];
|
2025-01-23 21:52:50 -05:00
|
|
|
me.zrepl.enable = true;
|
2025-01-23 21:55:22 -05:00
|
|
|
me.zsh.enable = true;
|
2025-01-24 17:41:12 -05:00
|
|
|
|
2025-01-19 14:25:45 -05:00
|
|
|
}
|