fix: desktop updates

This commit is contained in:
Nickolaj Jepsen 2025-04-01 21:13:44 +02:00
parent 71f9b22346
commit 277d8032de
7 changed files with 54 additions and 76 deletions

View file

@ -13,13 +13,13 @@ _: {
position = "0x1080";
}
{
name = "DP-3";
name = "DP-1";
resolution = "2560x1440";
refreshRate = 144;
position = "5120x1080";
}
{
name = "DP-1";
name = "DP-3";
resolution = "1920x1080";
refreshRate = 60;
position = "2880x0";

View file

@ -1,8 +1,4 @@
{
pkgs,
config,
...
}: {
_: {
hardware = {
graphics = {
enable = true;
@ -10,16 +6,10 @@
nvidia = {
open = true;
modesetting.enable = true;
powerManagement.enable = true;
nvidiaSettings = true;
package = config.boot.kernelPackages.nvidiaPackages.latest;
};
};
services.xserver.videoDrivers = ["nvidia"];
# To fix https://forums.developer.nvidia.com/t/ubuntu-24-04-unable-to-change-power-state-from-d3cold-to-d0-device-inaccessible/304459
boot.kernelPackages = pkgs.linuxPackages_6_12;
fireproof.home-manager.wayland.windowManager.hyprland.settings = {
env = [
"LIBVA_DRIVER_NAME,nvidia"

7
hosts/desktop/ssh.nix Normal file
View file

@ -0,0 +1,7 @@
{lib, ...}: {
fireproof.home-manager.programs.ssh.matchBlocks = {
"bastion.ao" = {
proxyJump = lib.mkForce null;
};
};
}

View file

@ -1,16 +1,13 @@
{lib, ...}: {
fireproof.home-manager.programs.ssh.matchBlocks = {
"dev.ao" = {
hostname = "192.168.2.28";
proxyJump = lib.mkForce null;
};
"flex.ao" = {
hostname = "192.168.2.5";
proxyJump = lib.mkForce null;
};
"bastion.ao" = {
hostname = "192.168.2.6";
proxyJump = lib.mkForce null;
};
"clickhouse.ao" = {
hostname = "51.158.205.48";