liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

configuration.nix (365B)


      1 { config, pkgs, lib, ... } :
      2 let
      3   inherit (pkgs.pseudofile) dir symlink;
      4 in {
      5   imports = [
      6     ../../vanilla-configuration.nix
      7     ../../modules/squashfs.nix
      8     ../../modules/outputs/jffs2.nix
      9   ];
     10   config.rootfsType = "jffs2";
     11   config.filesystem = dir {
     12     hello = {
     13       type = "f";
     14       uid = 7;
     15       gid = 24;
     16       file = "hello world";
     17     };
     18   };
     19 }