Files
JakeHillion 15071d0a0e
commit-validation / validate-single-commit (pull_request) Successful in 2s
flake / flake (push) Failing after 42s
nix-builder (x86_64-linux) Build completed successfully
refactor: move custom.laptop to custom.profiles.laptop
2025-12-28 20:03:48 +00:00

36 lines
764 B
Nix

{ config, pkgs, lib, ... }:
{
imports = [
./disko.nix
];
config = {
## Laptop configuration
custom.profiles.laptop = true;
## Boot
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
## AMD APU configuration
boot.initrd.kernelModules = [ "amdgpu" ];
services.xserver.videoDrivers = [ "amdgpu" ];
## Console rotation
boot.kernelParams = [ "fbcon=rotate:1" ];
## Display rotation for built-in screen
# GPD Pocket 4 screen is rotated 90 degrees counter-clockwise by default
custom.desktop.sway = {
extraConfig = ''
output * transform 90
'';
greeterRotation = "270";
};
## Impermanence
custom.impermanence.enable = true;
};
}