add cifs client side mounts

This commit is contained in:
2025-11-11 19:28:22 -06:00
parent 5a451bcaa1
commit 7ce43bf8e7
4 changed files with 12 additions and 8 deletions

View File

@@ -5,18 +5,20 @@
lib,
...
}: let
cfg = config.system.flatpak;
cfg = config.system.cifs_mounts;
sec = config.sops.secrets;
in {
options.system.flatpak = {
options.system.cifs_mounts = {
enable = lib.mkEnableOption "enables mounting holocron fileshare on the client side";
};
environment.systemPackages = with pkgs; [
cifs-utils
];
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
cifs-utils
];
fileSystems."/media/holocron/blake" = {
device = "//10.10.0.10/users/blake";
fsType = "cifs";

View File

@@ -17,6 +17,7 @@
./graphics
./flatpak
./secure_boot
./cifs_mounts
];
system.ssh.enable = lib.mkDefault true;