test
This commit is contained in:
parent
6a3c987808
commit
e62d4988c1
5 changed files with 12 additions and 2 deletions
|
@ -25,6 +25,9 @@
|
||||||
# Disable askpass for cli auth:
|
# Disable askpass for cli auth:
|
||||||
SSH_ASKPASS = "";
|
SSH_ASKPASS = "";
|
||||||
|
|
||||||
|
# nVidia prime selector alias:
|
||||||
|
prime-select = "nvidia-offload"
|
||||||
|
|
||||||
# docker
|
# docker
|
||||||
d = "docker";
|
d = "docker";
|
||||||
dc = "docker-compose";
|
dc = "docker-compose";
|
||||||
|
|
|
@ -45,6 +45,7 @@
|
||||||
gnomeExtensions.caffeine
|
gnomeExtensions.caffeine
|
||||||
gnomeExtensions.hibernate-status-button
|
gnomeExtensions.hibernate-status-button
|
||||||
gnomeExtensions.night-theme-switcher
|
gnomeExtensions.night-theme-switcher
|
||||||
|
gnomeExtensions.prime-gpu-profile-selector
|
||||||
|
|
||||||
# Gnome relevant packages
|
# Gnome relevant packages
|
||||||
gnome3.gnome-tweaks
|
gnome3.gnome-tweaks
|
||||||
|
|
|
@ -45,6 +45,7 @@
|
||||||
gnomeExtensions.caffeine
|
gnomeExtensions.caffeine
|
||||||
gnomeExtensions.hibernate-status-button
|
gnomeExtensions.hibernate-status-button
|
||||||
gnomeExtensions.night-theme-switcher
|
gnomeExtensions.night-theme-switcher
|
||||||
|
gnomeExtensions.prime-gpu-profile-selector
|
||||||
|
|
||||||
# Gnome relevant packages
|
# Gnome relevant packages
|
||||||
gnome3.gnome-tweaks
|
gnome3.gnome-tweaks
|
||||||
|
|
|
@ -35,14 +35,19 @@
|
||||||
nvidia.powerManagement.enable = true;
|
nvidia.powerManagement.enable = true;
|
||||||
|
|
||||||
nvidia.prime = {
|
nvidia.prime = {
|
||||||
|
sync.enable = true;
|
||||||
offload.enable = true;
|
offload.enable = true;
|
||||||
|
offload.enableOffloadCmd = true;
|
||||||
intelBusId = lib.mkDefault "PCI:0:2:0";
|
intelBusId = lib.mkDefault "PCI:0:2:0";
|
||||||
nvidiaBusId = lib.mkDefault "PCI:1:0:0";
|
nvidiaBusId = lib.mkDefault "PCI:1:0:0";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Fingerprint software
|
# Fingerprint software
|
||||||
environment.systemPackages = with pkgs; [ fprintd ];
|
environment.systemPackages = with pkgs; [
|
||||||
|
fprintd
|
||||||
|
nvtop-nvidia
|
||||||
|
];
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
# Modules
|
# Modules
|
||||||
|
|
|
@ -38,6 +38,6 @@
|
||||||
# networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true;
|
# networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
|
||||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
}
|
}
|
Loading…
Reference in a new issue