mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 08:06:50 +01:00
fix: desktop updates
This commit is contained in:
parent
71f9b22346
commit
277d8032de
7 changed files with 54 additions and 76 deletions
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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
7
hosts/desktop/ssh.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{lib, ...}: {
|
||||
fireproof.home-manager.programs.ssh.matchBlocks = {
|
||||
"bastion.ao" = {
|
||||
proxyJump = lib.mkForce null;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue