Compare commits
2 commits
4358f717d0
...
4e68c3ccf7
Author | SHA1 | Date | |
---|---|---|---|
Geoffrey Frogeye | 4e68c3ccf7 | ||
Geoffrey Frogeye | 5148643a64 |
|
@ -5,10 +5,12 @@
|
||||||
razmo = {
|
razmo = {
|
||||||
spec = "/mnt/razmo";
|
spec = "/mnt/razmo";
|
||||||
hashTableSizeMB = 512; # Recommended for 1 TiB, ×2 for compression, x2 for time
|
hashTableSizeMB = 512; # Recommended for 1 TiB, ×2 for compression, x2 for time
|
||||||
|
extraOptions = [ "--loadavg-target" "10" ]; # This one is tame
|
||||||
};
|
};
|
||||||
rapido = {
|
rapido = {
|
||||||
spec = "/mnt/rapido";
|
spec = "/mnt/rapido";
|
||||||
hashTableSizeMB = 128; # 4 times smaller disk, 4 times smaller hashtable?
|
hashTableSizeMB = 128; # 4 times smaller disk, 4 times smaller hashtable?
|
||||||
|
extraOptions = [ "--loadavg-target" "7.5" ]; # This one can slow things down
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -10,5 +10,6 @@
|
||||||
./disko.nix
|
./disko.nix
|
||||||
./features.nix
|
./features.nix
|
||||||
./hardware.nix
|
./hardware.nix
|
||||||
|
./webcam
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
14
curacao/webcam/default.nix
Normal file
14
curacao/webcam/default.nix
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
{ pkgs, lib, config, ... }:
|
||||||
|
{
|
||||||
|
config = {
|
||||||
|
# TODO This should install cameractrls, but it seems like it's not easy to install.
|
||||||
|
# In the meantime, we install Flatpak and do:
|
||||||
|
# flatpak run hu.irl.cameractrls
|
||||||
|
services.flatpak.enable = true;
|
||||||
|
xdg.portal = {
|
||||||
|
config.common.default = "*";
|
||||||
|
enable = true;
|
||||||
|
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue