Fix formatting.

This commit is contained in:
2024-09-25 15:11:56 +01:00
parent c565aba76c
commit 855850196f
5 changed files with 28 additions and 21 deletions

View File

@@ -17,14 +17,12 @@ in
fileSystems."/data/media" = { fileSystems."/data/media" = {
device = "//fractal/media"; device = "//fractal/media";
fsType = "cifs"; fsType = "cifs";
options = options = [ "${automount_opts},credentials=/etc/nixos/smb-secrets" ];
[ "${automount_opts},credentials=/etc/nixos/smb-secrets" ];
}; };
fileSystems."/data/shared" = { fileSystems."/data/shared" = {
device = "//fractal/shared"; device = "//fractal/shared";
fsType = "cifs"; fsType = "cifs";
options = options = [ "${automount_opts},credentials=/etc/nixos/smb-secrets" ];
[ "${automount_opts},credentials=/etc/nixos/smb-secrets" ];
}; };
} }

View File

@@ -1,7 +1,7 @@
{ lib, ... }: { lib, ... }:
{ {
imports = [ 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; boot.isContainer = true;

View File

@@ -1,18 +1,16 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
environment.systemPackages = [ environment.systemPackages = [ pkgs.kopia ];
pkgs.kopia
];
# systemd = { # systemd = {
# services = { # services = {
# "backup-persist" = { # "backup-persist" = {
# }; # };
# }; # };
# #
# timers = { # timers = {
# "backup-persist" = { # "backup-persist" = {
# }; # };
# }; # };
# }; # };
} }

View File

@@ -1,4 +1,9 @@
{ config, pkgs, lib, ... }: {
config,
pkgs,
lib,
...
}:
with lib; with lib;
let let
cfg = config.custom.tailscale; cfg = config.custom.tailscale;

View File

@@ -1,4 +1,10 @@
{ pkgs, inputs, lib, config, ... }: {
pkgs,
inputs,
lib,
config,
...
}:
let let
cfg = config.custom.impermanence; cfg = config.custom.impermanence;
in in