hydrogen: init (#20)

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>
This commit is contained in:
Primrose 2025-11-02 05:12:02 +01:00 committed by Léana
parent a1024668db
commit 006798d917
31 changed files with 481 additions and 141 deletions

View file

@ -0,0 +1,20 @@
{
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;});
})
];
}