mirror of
https://github.com/sstent/vmimages.git
synced 2026-03-06 13:06:37 +00:00
reorg + condiational secrets
This commit is contained in:
19
modules/nixos/mnt_public/default.nix
Normal file
19
modules/nixos/mnt_public/default.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{ lib, inputs, outputs, config, ... }:
|
||||
with lib;
|
||||
|
||||
let cfg = config.custom.mnt_public;
|
||||
in {
|
||||
options.custom.mnt_public.enable = mkEnableOption "Enable mnt/Public";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
|
||||
fileSystems."/mnt/Public" = {
|
||||
device = "//192.168.1.109/Public";
|
||||
fsType = "cifs";
|
||||
# options = ["uid=0,gid=1000"];
|
||||
options = ["guest" "uid=1000"];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user