Compare commits
No commits in common. "3c4da2d439c05e017f15c374f947866463355a27" and "ebef97a0a94206eb84edd737cfd87337f16a7f54" have entirely different histories.
3c4da2d439
...
ebef97a0a9
2 changed files with 2 additions and 20 deletions
|
@ -12,7 +12,7 @@
|
||||||
# Set your time zone.
|
# Set your time zone.
|
||||||
time.timeZone = "Europe/Paris";
|
time.timeZone = "Europe/Paris";
|
||||||
|
|
||||||
console.keyMap = "fr";
|
console.keyMap = "fr"
|
||||||
|
|
||||||
# Nix
|
# Nix
|
||||||
nix.settings.experimental-features = ["nix-command" "flakes"];
|
nix.settings.experimental-features = ["nix-command" "flakes"];
|
||||||
|
@ -36,22 +36,4 @@
|
||||||
"gaspard" = import ../../users/gaspard.nix;
|
"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";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
name = "crypted";
|
name = "crypted";
|
||||||
settings = {
|
settings = {
|
||||||
allowDiscards = true;
|
allowDiscards = true;
|
||||||
# askPassword = true;
|
askPassword = true;
|
||||||
};
|
};
|
||||||
content = {
|
content = {
|
||||||
type = "lvm_pv";
|
type = "lvm_pv";
|
||||||
|
|
Loading…
Reference in a new issue