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" = {
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" ];
};
}

View File

@@ -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;

View File

@@ -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" = {
# };
# };
# };
}

View File

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

View File

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