rotate screen correctly

This commit is contained in:
Charlotte 🦝 Delenk 2024-07-12 12:44:59 +02:00
parent f6a5b55a0c
commit 18ad270b87
2 changed files with 4 additions and 8 deletions

View file

@ -6,6 +6,7 @@
...
}: {
boot.kernelPackages = pkgs.linuxPackagesFor pkgs.linux-devterm;
boot.kernelParams = ["fbcon=rotate:1"];
networking.hostName = "devterm";
imports = [
./desktop.nix
@ -30,7 +31,6 @@
"ti_adc081c"
];
};
console.enable = false;
environment.systemPackages = with pkgs; [
libraspberrypi
raspberrypi-eeprom
@ -52,13 +52,6 @@
u2f.enable = lib.mkForce false;
services.sddm.u2fAuth = lib.mkForce false;
};
console.keyMap = lib.mkForce "us";
services.xserver.layout = lib.mkForce "us";
services.xserver.xkbVariant = lib.mkForce "";
services.displayManager.sddm = {
autoLogin.enable = true;
autoLogin.user = "darkkirb";
};
networking.networkmanager.enable = true;
users.users.darkkirb.extraGroups = ["networkmanager"];
hardware.deviceTree.overlays = [

View file

@ -70,6 +70,9 @@ in {
position = "2560 0";
subpixel = "rgb";
};
"DSI-1" = {
transform = "90";
};
};
keybindings = let
inherit (config.wayland.windowManager.sway.config) modifier;