{ config, pkgs, lib, username, inputs, ... }: { imports = [ ./common.nix ./disk_mreow.nix inputs.nixos-hardware.nixosModules.framework-amd-ai-300-series ]; # Disable PSR, PSR-SU, and Panel Replay to fix display hangs and corruption. # Panel Replay requires PSR/PSR-SU to also be disabled to avoid issues. # This overrides nixos-hardware's 0x10 with 0x410 (last value wins in kernel cmdline). # https://github.com/NixOS/nixos-hardware/pull/1692 boot.kernelParams = lib.mkAfter [ "amdgpu.dcdebugmask=0x410" ]; hardware.framework.laptop13.audioEnhancement.rawDeviceName = lib.mkDefault "alsa_output.pci-0000_c1_00.6.analog-stereo"; # PST # time.timeZone = lib.mkForce "America/Los_Angeles"; # weird hack to get swaylock working? idk, if you don't put this here, password entry doesnt work # if I move to another lock screen program, i will have to replace `swaylock` security.pam.services.swaylock = { }; # Greetd display manager services.greetd = { enable = true; settings = { default_session = { command = "${lib.getExe pkgs.tuigreet} --time"; user = username; }; }; }; }