2023-10-27 21:06:55 +00:00
|
|
|
{ self, lib, inputs, ... }: {
|
|
|
|
# Configuration common to all Linux systems
|
|
|
|
flake = {
|
|
|
|
pub-solar.lib = let
|
|
|
|
callLibs = file: import file {inherit lib;};
|
|
|
|
in rec {
|
|
|
|
## Define your own library functions here!
|
|
|
|
#id = x: x;
|
|
|
|
## Or in files, containing functions that take {lib}
|
|
|
|
#foo = callLibs ./foo.nix;
|
|
|
|
## In configs, they can be used under "lib.our"
|
|
|
|
|
|
|
|
deploy = import ./deploy.nix { inherit inputs lib; };
|
2023-11-05 21:54:09 +00:00
|
|
|
|
|
|
|
linux = {
|
|
|
|
unlockZFSOnBoot = import ./unlock-zfs-on-boot.nix {publicKeys = self.publicKeys.allAdmins;};
|
|
|
|
};
|
2023-10-27 21:06:55 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|