Compare commits
No commits in common. "6a1ed9d5627f7322697aed2070ee6cbcb5969fdd" and "c42d820096f94c7ed1b2fc06c8693443295132d4" have entirely different histories.
6a1ed9d562
...
c42d820096
2 changed files with 1 additions and 10 deletions
|
@ -16,7 +16,6 @@ read -n1 -rp "${bold}Activate new configuration? [y/N]$reset " answer
|
||||||
echo
|
echo
|
||||||
|
|
||||||
if [[ $answer =~ ^[Yy]$ ]]; then
|
if [[ $answer =~ ^[Yy]$ ]]; then
|
||||||
sudo nix-env --profile /nix/var/nix/profiles/system --set "$configuration"
|
|
||||||
sudo "$configuration/bin/switch-to-configuration" switch
|
sudo "$configuration/bin/switch-to-configuration" switch
|
||||||
else
|
else
|
||||||
echo "${bold}Not activating :($reset"
|
echo "${bold}Not activating :($reset"
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
config,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
|
@ -20,14 +19,7 @@
|
||||||
hardware = {
|
hardware = {
|
||||||
graphics.extraPackages = [ pkgs.vaapiVdpau ];
|
graphics.extraPackages = [ pkgs.vaapiVdpau ];
|
||||||
nvidia = {
|
nvidia = {
|
||||||
package = config.boot.kernelPackages.nvidiaPackages.mkDriver {
|
# package = config.boot.kernelPackages.nvidiaPackages.production;
|
||||||
version = "550.142";
|
|
||||||
sha256_64bit = "sha256-bdVJivBLQtlSU7Zre9oVCeAbAk0s10WYPU3Sn+sXkqE=";
|
|
||||||
sha256_aarch64 = "sha256-sBp5fcCPMrfrTZTF1FqKo9g0wOWP+5+wOwQ7PLWI6wA=";
|
|
||||||
openSha256 = "sha256-hjpwTR4I0MM5dEjQn7MKM3RY1a4Mt6a61Ii9KW2KbiY=";
|
|
||||||
settingsSha256 = "sha256-Wk6IlVvs23cB4s0aMeZzSvbOQqB1RnxGMv3HkKBoIgY=";
|
|
||||||
persistencedSha256 = "sha256-yQFrVk4i2dwReN0XoplkJ++iA1WFhnIkP7ns4ORmkFA=";
|
|
||||||
};
|
|
||||||
open = true;
|
open = true;
|
||||||
modesetting.enable = true;
|
modesetting.enable = true;
|
||||||
powerManagement = {
|
powerManagement = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue