Fix formatting.
This commit is contained in:
@@ -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" ];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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" = {
|
||||||
# };
|
# };
|
||||||
# };
|
# };
|
||||||
# };
|
# };
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,9 @@
|
|||||||
{ config, pkgs, lib, ... }:
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.custom.tailscale;
|
cfg = config.custom.tailscale;
|
||||||
|
|||||||
@@ -1,4 +1,10 @@
|
|||||||
{ pkgs, inputs, lib, config, ... }:
|
{
|
||||||
|
pkgs,
|
||||||
|
inputs,
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}:
|
||||||
let
|
let
|
||||||
cfg = config.custom.impermanence;
|
cfg = config.custom.impermanence;
|
||||||
in
|
in
|
||||||
|
|||||||
Reference in New Issue
Block a user