dotfiles/system/system-mreow.nix
2025-11-25 13:29:02 -05:00

50 lines
999 B
Nix

{
config,
pkgs,
lib,
username,
inputs,
...
}:
{
imports = [
./common.nix
./hardware_laptop.nix
inputs.nixos-hardware.nixosModules.framework-amd-ai-300-series
];
# completely and utterly broken
/*
hardware.framework.laptop13.audioEnhancement = {
enable = true;
# seems audio doesn't work without this
hideRawDevice = false;
};
*/
# PST
# time.timeZone = lib.mkForce "America/Los_Angeles";
boot.kernelPackages = pkgs.linuxPackages_cachyos-lto.cachyOverride {
# my system is zen 5, but zen 4 is the highest option
mArch = "ZEN4";
};
# disable framework kernel module
# https://github.com/NixOS/nixos-hardware/issues/1330
hardware.framework.enableKmod = false;
# Greetd display manager
services.greetd = {
enable = true;
settings = {
default_session = {
command = "${lib.getExe pkgs.tuigreet} --sessions /etc/xdg/wayland-sessions/ --time";
user = username;
};
};
};
}