Config changes fixes

This commit is contained in:
xeovalyte 2024-10-06 16:39:15 +02:00
commit 34ed17486c
Signed by: xeovalyte
SSH Key Fingerprint: SHA256:kSQDrQDmKzljJzfGYcd3m9RqHi4h8rSwkZ3sQ9kBURo
5 changed files with 28 additions and 6 deletions

View File

@ -32,6 +32,7 @@
specialArgs = { inherit inputs; }; specialArgs = { inherit inputs; };
modules = [ modules = [
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; }) ({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; })
./hosts/laptop ./hosts/laptop
]; ];
}; };
@ -90,3 +91,4 @@
}; };
}; };
} }

View File

@ -38,6 +38,13 @@
"blueman-applet" "blueman-applet"
]; ];
env = lib.mkIf (config.host == "xv-desktop") [
"LIBVA_DRIVER_NAME,nvidia"
"XDG_SESSION_TYPE,wayland"
"GBM_BACKEND,nvidia-drm"
"__GLX_VENDOR_LIBRARY_NAME,nvidia"
];
"$mod" = "SUPER"; "$mod" = "SUPER";
input = { input = {
@ -86,11 +93,11 @@
] ]
(lib.mkIf (config.host == "xv-desktop") [ (lib.mkIf (config.host == "xv-desktop") [
"1, monitor:DP-2" "1, monitor:DP-1"
"2, monitor:DP-2" "2, monitor:DP-1"
"3, monitor:DP-2" "3, monitor:DP-1"
"4, monitor:DP-2" "4, monitor:DP-1"
"5, monitor:DP-2" "5, monitor:DP-1"
"6, monitor:HDMI-A-1" "6, monitor:HDMI-A-1"
"7, monitor:HDMI-A-1" "7, monitor:HDMI-A-1"
"8, monitor:HDMI-A-1" "8, monitor:HDMI-A-1"

View File

@ -35,6 +35,10 @@
"DP-10" = [ 1 2 3 4 ]; "DP-10" = [ 1 2 3 4 ];
"DP-9" = [ 5 6 7 ]; "DP-9" = [ 5 6 7 ];
"eDP-1" = [ 8 9 10 ]; "eDP-1" = [ 8 9 10 ];
})
(lib.mkIf (config.host == "xv-desktop") {
"DP-1" = [ 1 2 3 4 5 ];
"HDMI-A-1" = [ 6 7 8 9 10 ];
})]; })];
"format-icons" = { "format-icons" = {
"default" = ""; "default" = "";

View File

@ -9,6 +9,8 @@
defaultNetwork.settings.dns_enabled = true; defaultNetwork.settings.dns_enabled = true;
}; };
virtualisation.oci-containers.backend = "podman";
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
dive dive
podman-tui podman-tui

View File

@ -34,6 +34,13 @@
open = false; open = false;
nvidiaSettings = true; nvidiaSettings = true;
package = config.boot.kernelPackages.nvidiaPackages.beta; package = config.boot.kernelPackages.nvidiaPackages.mkDriver {
version = "555.58.02";
sha256_64bit = "sha256-xctt4TPRlOJ6r5S54h5W6PT6/3Zy2R4ASNFPu8TSHKM=";
sha256_aarch64 = "sha256-xctt4TPRlOJ6r5S54h5W6PT6/3Zy2R4ASNFPu8TSHKM=";
openSha256 = "sha256-ZpuVZybW6CFN/gz9rx+UJvQ715FZnAOYfHn5jt5Z2C8=";
settingsSha256 = "sha256-ZpuVZybW6CFN/gz9rx+UJvQ715FZnAOYfHn5jt5Z2C8=";
persistencedSha256 = lib.fakeSha256;
};
}; };
} }