nord: 2311->2405
This commit is contained in:
parent
5615460436
commit
da7dadfe87
|
@ -268,7 +268,8 @@
|
|||
intel-novga = ls [ hw.common-pc hw.common-pc-ssd hw.common-cpu-intel-cpu-only ];
|
||||
cuda = ls [ ./hardware/gpu/cuda.nix hw.common-gpu-nvidia-nonprime ];
|
||||
cuda-prime = ls [ ./hardware/gpu/cuda.nix hw.common-gpu-nvidia ];
|
||||
rocm = ls [ ./hardware/gpu/rocm.nix hw_.common-gpu-amd ];
|
||||
rocm = ls [ ./hardware/gpu/rocm.nix hw.common-gpu-amd ];
|
||||
rocm_ = ls [ ./hardware/gpu/rocm.nix hw_.common-gpu-amd ];
|
||||
nspawn = ls [ "${nixos-nspawn}/nspawn-image.nix" { boot.isContainer = true; } ];
|
||||
hidpi = hw.common-hidpi;
|
||||
p1005 = ./hardware/printer/hp-laserjet-p1005.nix;
|
||||
|
@ -285,11 +286,11 @@
|
|||
#hostname "domain" "system" inputs "state" [ modules ... ]
|
||||
noximilien = mk "pbsds.net" "x86_64-linux" inputs-2311 "22.11" [ au intel ];
|
||||
brumlebasse = mk "pbsds.net" "x86_64-linux" inputs-2311 "23.11" [ au amd nspawn ];
|
||||
nord = mk "pbsds.net" "x86_64-linux" inputs-2311 "23.11" [ au intel-novga hw_.common-cpu-intel-sandy-bridge rocm hidpi ];
|
||||
nord = mk "pbsds.net" "x86_64-linux" inputs-2405 "23.11" [ au intel-novga hw.common-gpu-intel-sandy-bridge rocm hidpi ];
|
||||
sopp = mk "pbsds.net" "x86_64-linux" inputs-2311 "23.11" [ au nixld intel cuda p1005 ];
|
||||
bjarte = mk "pbsds.net" "x86_64-linux" inputs-2405 "23.11" [ nixld intel hw.lenovo-thinkpad-x1-7th-gen ];
|
||||
bolle = mk "pbsds.net" "x86_64-linux" inputs-2405 "23.11" [ au dns64 intel ];
|
||||
eple = mk "pbsds.net" "x86_64-linux" inputs-2311 "23.11" [ au dns64 intel rocm ];
|
||||
eple = mk "pbsds.net" "x86_64-linux" inputs-2311 "23.11" [ au dns64 intel rocm_ ];
|
||||
garp = mk "pbsds.net" "x86_64-linux" inputs-2405 "23.11" [ au dns64 intel-novga cuda ];
|
||||
hasselknippe= mk "pbsds.net" "aarch64-linux" inputs-2311 "23.11" [ hw.pine64-pinebook-pro ];
|
||||
#gomperud smattkuken skrytebiffen skalkesnerken balleby bingus skjrlaltatjlstad
|
||||
|
|
|
@ -14,18 +14,17 @@
|
|||
nixpkgs.config.vaapiSupport = true;
|
||||
|
||||
}
|
||||
# nixos-hardware common-amd options
|
||||
# https://github.com/NixOS/nixos-hardware/blob/master/common/gpu/amd/default.nix
|
||||
(lib.mkIf (options ? hardware.amdgpu.opencl.enable) {
|
||||
(lib.mkIf (lib.versionAtLeast (lib.versions.majorMinor lib.version) "24.05") {
|
||||
hardware.amdgpu.opencl.enable = lib.mkDefault true;
|
||||
})
|
||||
(lib.mkIf (!options ? hardware.amdgpu.opencl.enable) {
|
||||
hardware.amdgpu.opencl = lib.mkDefault true;
|
||||
})
|
||||
(lib.mkIf (options ? hardware.amdgpu.amdvlk.enable) {
|
||||
#hardware.amdgpu.amdvlk.enable = lib.mkDefault true;
|
||||
#hardware.amdgpu.amdvlk.support32Bit.enable = lib.mkDefault true;
|
||||
})
|
||||
#(lib.mkIf (lib.versionOlder (lib.versions.majorMinor lib.version) "24.05") {
|
||||
# # nixos-hardware common-amd options
|
||||
# # https://github.com/NixOS/nixos-hardware/blob/master/common/gpu/amd/default.nix
|
||||
# hardware.amdgpu.opencl = lib.mkDefault true;
|
||||
# #hardware.amdgpu.amdvlk = lib.mkDefault true;
|
||||
#})
|
||||
{
|
||||
# https://libreddit.noximilien.pbsds.net/r/archlinux/comments/nih9c9/amdgpu_vs_modesetting_in_current_510_kernels_xorg/
|
||||
services.xserver.videoDrivers = [ "amdgpu" ]; # use gpu, adaptive sync and and hardware page flipping
|
||||
|
|
|
@ -19,7 +19,7 @@ in
|
|||
$DRY_RUN_CMD ${lib.getBin pkgs.age}/bin/age-keygen -o ${keyFile} >/dev/null
|
||||
fi
|
||||
|
||||
if test -s "$XDG_RUNTIME_DIR"/sops/age/keys-hm.txt; then
|
||||
if test -s "''${XDG_RUNTIME_DIR:-}"/sops/age/keys-hm.txt; then
|
||||
if test -w ${keyFile}; then
|
||||
for pubkey in $(age-keygen -y "$XDG_RUNTIME_DIR"/sops/age/keys-hm.txt); do
|
||||
if ! grep -q "$pubkey" <(${lib.getBin pkgs.age}/bin/age-keygen -y ${keyFile}); then
|
||||
|
|
Loading…
Reference in New Issue