Enable optimization for hydra ISO.
This commit is contained in:
parent
295ac24361
commit
33f582d17a
@ -18,23 +18,12 @@
|
|||||||
# "kvm"
|
# "kvm"
|
||||||
# "nixos-test"
|
# "nixos-test"
|
||||||
];
|
];
|
||||||
}
|
|
||||||
(lib.mkIf (!config.me.buildingIso) {
|
|
||||||
nix.settings.system-features = lib.mkForce [
|
|
||||||
"gccarch-znver4"
|
|
||||||
"gccarch-x86-64-v3"
|
|
||||||
"gccarch-x86-64-v4"
|
|
||||||
"benchmark"
|
|
||||||
"big-parallel"
|
|
||||||
# "kvm"
|
|
||||||
# "nixos-test"
|
|
||||||
];
|
|
||||||
|
|
||||||
# nixpkgs.hostPlatform = {
|
nixpkgs.hostPlatform = {
|
||||||
# gcc.arch = "alderlake";
|
gcc.arch = "znver4";
|
||||||
# gcc.tune = "alderlake";
|
gcc.tune = "znver4";
|
||||||
# system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
# };
|
};
|
||||||
|
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
(
|
(
|
||||||
@ -79,10 +68,6 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
boot.kernelPackages = pkgs.linuxPackagesFor pkgs.linux_znver4;
|
boot.kernelPackages = pkgs.linuxPackagesFor pkgs.linux_znver4;
|
||||||
})
|
}
|
||||||
(lib.mkIf (config.me.buildingIso) {
|
|
||||||
boot.kernelPackages = pkgs.linuxPackagesFor pkgs.linux_6_13;
|
|
||||||
boot.supportedFilesystems = [ "zfs" ];
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -22,11 +22,10 @@
|
|||||||
{
|
{
|
||||||
services.hydra = {
|
services.hydra = {
|
||||||
enable = true;
|
enable = true;
|
||||||
hydraURL = "http://localhost:3000"; # externally visible URL
|
hydraURL = "http://localhost:3000"; # Externally visible URL
|
||||||
notificationSender = "hydra@localhost"; # e-mail of Hydra service
|
notificationSender = "hydra@localhost"; # "From" address for hydra emails.
|
||||||
# a standalone Hydra will require you to unset the buildMachinesFiles list to avoid using a nonexistant /etc/nix/machines
|
# a standalone Hydra will require you to unset the buildMachinesFiles list to avoid using a nonexistant /etc/nix/machines
|
||||||
buildMachinesFiles = [ ];
|
buildMachinesFiles = [ ];
|
||||||
# you will probably also want, otherwise *everything* will be built from scratch
|
|
||||||
useSubstitutes = true;
|
useSubstitutes = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ StartFullscreen = true
|
|||||||
|
|
||||||
|
|
||||||
[Folders]
|
[Folders]
|
||||||
Bios = ../../.persist/manual/games/ps2/bios
|
Bios = ../../.persist/manual/games/sony_ps2/bios
|
||||||
Snapshots = snaps
|
Snapshots = snaps
|
||||||
Savestates = sstates
|
Savestates = sstates
|
||||||
MemoryCards = memcards
|
MemoryCards = memcards
|
||||||
@ -101,4 +101,4 @@ CheckAtStartup = false
|
|||||||
|
|
||||||
|
|
||||||
[GameList]
|
[GameList]
|
||||||
RecursivePaths = /home/deck/.persist/manual/games/ps2/roms
|
RecursivePaths = /home/deck/.persist/manual/games/sony_ps2/roms
|
||||||
|
Loading…
x
Reference in New Issue
Block a user