mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
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:
parent
a1024668db
commit
006798d917
31 changed files with 481 additions and 141 deletions
20
nix/configurations/hydrogen/nixos/misc.nix
Normal file
20
nix/configurations/hydrogen/nixos/misc.nix
Normal 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;});
|
||||
})
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue