diff --git a/common/cifs-client.nix b/common/cifs-client.nix index f75112b..caaa04c 100644 --- a/common/cifs-client.nix +++ b/common/cifs-client.nix @@ -17,14 +17,12 @@ in fileSystems."/data/media" = { device = "//fractal/media"; fsType = "cifs"; - options = - [ "${automount_opts},credentials=/etc/nixos/smb-secrets" ]; + options = [ "${automount_opts},credentials=/etc/nixos/smb-secrets" ]; }; fileSystems."/data/shared" = { device = "//fractal/shared"; fsType = "cifs"; - options = - [ "${automount_opts},credentials=/etc/nixos/smb-secrets" ]; + options = [ "${automount_opts},credentials=/etc/nixos/smb-secrets" ]; }; } diff --git a/common/container-node.nix b/common/container-node.nix index 968b4a6..7f6d4f5 100644 --- a/common/container-node.nix +++ b/common/container-node.nix @@ -1,7 +1,7 @@ { lib, ... }: { imports = [ - ./impermanence.nix # TODO: find a way to avoid needing this here + ./impermanence.nix # TODO: find a way to avoid needing this here ]; boot.isContainer = true; diff --git a/common/global/backup.nix b/common/global/backup.nix index 2611b81..e4dd354 100644 --- a/common/global/backup.nix +++ b/common/global/backup.nix @@ -1,18 +1,16 @@ { pkgs, ... }: { - environment.systemPackages = [ - pkgs.kopia - ]; + environment.systemPackages = [ pkgs.kopia ]; -# systemd = { -# services = { -# "backup-persist" = { -# }; -# }; -# -# timers = { -# "backup-persist" = { -# }; -# }; -# }; + # systemd = { + # services = { + # "backup-persist" = { + # }; + # }; + # + # timers = { + # "backup-persist" = { + # }; + # }; + # }; } diff --git a/common/global/tailscale.nix b/common/global/tailscale.nix index b554372..f273cd5 100644 --- a/common/global/tailscale.nix +++ b/common/global/tailscale.nix @@ -1,4 +1,9 @@ -{ config, pkgs, lib, ... }: +{ + config, + pkgs, + lib, + ... +}: with lib; let cfg = config.custom.tailscale; diff --git a/common/impermanence.nix b/common/impermanence.nix index 10c973d..ab8520d 100644 --- a/common/impermanence.nix +++ b/common/impermanence.nix @@ -1,4 +1,10 @@ -{ pkgs, inputs, lib, config, ... }: +{ + pkgs, + inputs, + lib, + config, + ... +}: let cfg = config.custom.impermanence; in