Compare commits

..

No commits in common. "3c4da2d439c05e017f15c374f947866463355a27" and "ebef97a0a94206eb84edd737cfd87337f16a7f54" have entirely different histories.

2 changed files with 2 additions and 20 deletions

View file

@ -12,7 +12,7 @@
# Set your time zone.
time.timeZone = "Europe/Paris";
console.keyMap = "fr";
console.keyMap = "fr"
# Nix
nix.settings.experimental-features = ["nix-command" "flakes"];
@ -36,22 +36,4 @@
"gaspard" = import ../../users/gaspard.nix;
};
};
# NVIDIA
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) ["nvidia-x11" "nvidia-settings"];
hardware.opengl.enable = true;
services.xserver.videoDrivers = ["nvidia"];
hardware.nvidia = {
modesetting.enable = true;
open = false; # Bruuh
prime = {
amdgpuBusId = "PCI:7:0:0";
nvidiaBusId = "PCI:1:0:0";
};
};
}

View file

@ -23,7 +23,7 @@
name = "crypted";
settings = {
allowDiscards = true;
# askPassword = true;
askPassword = true;
};
content = {
type = "lvm_pv";