global: rename from faucet
This commit is contained in:
parent
785ab73c50
commit
d3f97a71e4
31 changed files with 40 additions and 40 deletions
11
global/fs/xfs.nix
Normal file
11
global/fs/xfs.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ lib
|
||||
, config
|
||||
, ... }: with lib; let
|
||||
cfg = config.global.fs;
|
||||
in mkIf (cfg.type == "xfs") {
|
||||
# NOTE: -m reflink=1
|
||||
fileSystems."/nix" =
|
||||
{ device = "/dev/disk/by-uuid/${cfg.store}";
|
||||
fsType = "xfs";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue