mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
Reviewed-on: https://codeberg.org/leana8959/.files/pulls/20 Co-authored-by: Léana 江 <leana.jiang+git@icloud.com> Co-committed-by: Léana 江 <leana.jiang+git@icloud.com>
20 lines
530 B
Nix
20 lines
530 B
Nix
{
|
|
system.stateVersion = "25.05";
|
|
|
|
swapDevices = [
|
|
{
|
|
device = "/var/swapfile";
|
|
size = 1024; # MB
|
|
}
|
|
];
|
|
|
|
# Related https://github.com/NixOS/nixpkgs/issues/154163#issuecomment-1350599022
|
|
#
|
|
# modprobe: FATAL: Module sun4i-drm not found in directory /nix/store/gvvwpdckzcr4iamp1iyrqw3nzb7bg6c4-linux-rpi-6.6.51-stable_20241008-modules/lib/modules/6.6.51
|
|
nixpkgs.overlays = [
|
|
(final: prev: {
|
|
makeModulesClosure = x:
|
|
prev.makeModulesClosure (x // {allowMissing = true;});
|
|
})
|
|
];
|
|
}
|