Compare commits

..

No commits in common. "830dcbf6bc745bb154b1d8e5703f78134489eb5f" and "93822775a96b8c94ca462dd6361fcce8de9c6521" have entirely different histories.

3 changed files with 27 additions and 32 deletions

View file

@ -258,17 +258,17 @@
]
},
"locked": {
"lastModified": 1722688238,
"narHash": "sha256-x6BnYtArF6IDs7bS8ExokgAQBOlrxXxD0EOBIlASmfM=",
"lastModified": 1721682989,
"narHash": "sha256-kjJiZ7m4HKqbZ2mxNQiB32/goKFb8BRi8OqC4wIU0OI=",
"ref": "refs/heads/main",
"rev": "9b5ac87de73ea4646dbb2af979db91f096d29960",
"revCount": 4191,
"rev": "4b107e6ff36bd89958fba36e0fe0340903e7cd13",
"revCount": 4190,
"type": "git",
"url": "https://git.lix.systems/the-distro/hydra.git"
"url": "https://git.lix.systems/lix-project/hydra.git"
},
"original": {
"type": "git",
"url": "https://git.lix.systems/the-distro/hydra.git"
"url": "https://git.lix.systems/lix-project/hydra.git"
}
},
"lix": {

View file

@ -11,7 +11,7 @@
colmena.url = "github:zhaofengli/colmena";
colmena.inputs.nixpkgs.follows = "nixpkgs";
hydra.url = "git+https://git.lix.systems/the-distro/hydra.git";
hydra.url = "git+https://git.lix.systems/lix-project/hydra.git";
hydra.inputs.nixpkgs.follows = "nixpkgs";
nix-gerrit.url = "git+https://git.lix.systems/the-distro/nix-gerrit.git";

View file

@ -55,34 +55,29 @@ in
boot.initrd.services.lvm.enable = true;
boot.kernel.sysctl."fs.xfs.xfssyncd_centisecs" = "12000";
fileSystems = lib.mkMerge [
{
"/" = {
fileSystems."/" = {
device = "/dev/disk/by-label/root";
fsType = "xfs";
};
"/boot" = {
device = "/dev/disk/by-label/BOOT";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
}
(lib.mkIf (!cfg.netboot) {
"/mnt" = {
fileSystems."/mnt" = {
device = "/dev/disk/by-label/hydra";
fsType = "xfs";
options = ["logbsize=256k"];
};
boot.kernel.sysctl."fs.xfs.xfssyncd_centisecs" = "12000";
# We want the tmp filesystem on the same filesystem as the hydra store, so that builds can use reflinks
"/tmp" = {
fileSystems."/tmp" = {
device = "/mnt/tmp";
options = [ "bind" ];
};
})
];
fileSystems."/boot" = {
device = "/dev/disk/by-label/BOOT";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
swapDevices = lib.optionals (!cfg.netboot) [
{