Logo
Explore Help
Sign In
talexander/nixpkgs
1
0
Fork 0
You've already forked nixpkgs
Code Issues Pull Requests Releases Activity
nixpkgs/nixos/modules/tasks/filesystems/squashfs.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
184 B
Nix
Raw Normal View History

nixos/filesystems: init squashfs
2023-07-04 17:06:49 +02:00
{ config, lib, ... }:
let
nixos/filesystems: make supportedFilesystems an attrset this lets us *dis*able filesystem explicitly, as is required by e.g. the zfs-less installer images. currently that specifically is only easily possible by adding an overlay that stubs out `zfs`, with the obvious side-effect of also removing tooling that could run without the kernel module loaded.
2024-02-18 23:35:17 +01:00
inInitrd = config.boot.initrd.supportedFilesystems.squashfs or false;
nixos/filesystems: init squashfs
2023-07-04 17:06:49 +02:00
in
{
boot.initrd.availableKernelModules = lib.mkIf inInitrd [ "squashfs" ];
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.1 Page: 3916ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API