nixos/systems/management/default.nix

29 lines
913 B
Nix
Raw Normal View History

2022-11-04 19:35:57 +01:00
{ custom, hostname }: { ... }:
2022-03-15 16:56:05 +01:00
{
imports = [
2022-11-04 19:35:57 +01:00
(import "${custom.inputs.self}/systems/raspi4" {
2022-09-06 20:14:29 +02:00
ip = "10.7.89.150";
2022-11-04 19:35:57 +01:00
inherit custom hostname;
2022-03-15 16:56:05 +01:00
})
2022-11-04 19:35:57 +01:00
(import "${custom.inputs.self}/modules/docker" { inherit custom; })
"${custom.inputs.self}/modules/data-share"
2022-11-04 19:35:57 +01:00
"${custom.inputs.self}/modules/logs-share"
2023-01-21 10:13:29 +01:00
(import "${custom.inputs.self}/modules/mount-webdav" { inherit custom; })
2022-11-27 17:00:20 +01:00
(import "${custom.inputs.self}/modules/nix-direnv" { inherit custom; })
(import "${custom.inputs.self}/modules/restic-client-server" {
2022-11-04 16:49:46 +01:00
path = "/home/andreas";
tag = "management";
time = "23:30";
2022-11-04 19:35:57 +01:00
inherit custom;
2022-11-04 16:49:46 +01:00
})
2022-11-04 19:35:57 +01:00
"${custom.inputs.self}/modules/tmux"
2022-03-15 16:56:05 +01:00
];
fileSystems = {
"/mnt/external" = {
device = "/dev/disk/by-uuid/F73C-AA4F";
fsType = "exfat";
options = [ "x-systemd.automount" "noauto" "noatime" "uid=1000" "gid=100" ];
};
};
2022-03-15 16:56:05 +01:00
}