format
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
{config, lib, ...}:
|
||||
{ config, lib, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.custom.tmpfs;
|
||||
cfg = config.custom.tmpfs;
|
||||
in
|
||||
{
|
||||
options.custom.tmpfs = {
|
||||
enable = mkEnableOption "Enables tmpfs";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
boot.tmp.useTmpfs = true;
|
||||
};
|
||||
options.custom.tmpfs = {
|
||||
enable = mkEnableOption "Enables tmpfs";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
boot.tmp.useTmpfs = true;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user