nixos/systems/management/default.nix

32 lines
818 B
Nix
Raw Normal View History

2023-05-29 16:21:23 +02:00
{ hostname }: { inputs, ... }:
2022-03-15 16:56:05 +01:00
{
imports = [
2023-05-29 16:21:23 +02:00
(import "${inputs.self}/systems/raspi4" {
2022-09-06 20:14:29 +02:00
ip = "10.7.89.150";
2023-05-29 16:21:23 +02:00
inherit hostname;
2022-03-15 16:56:05 +01:00
})
2023-05-29 16:21:23 +02:00
"${inputs.self}/modules/logs-share"
"${inputs.self}/modules/nix-direnv"
"${inputs.self}/modules/rclone-webdav"
(import "${inputs.self}/modules/restic-client-server" {
2022-11-04 16:49:46 +01:00
path = "/home/andreas";
tag = "management";
time = "23:30";
})
2023-05-29 16:21:23 +02:00
"${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" ];
};
};
2023-05-30 22:55:08 +02:00
# Features
2023-05-29 15:34:17 +02:00
services.az-data-share.enable = true;
2023-05-29 17:10:15 +02:00
services.az-docker.enable = true;
2023-05-30 22:55:08 +02:00
# Enable dictionaries
programs.az-hunspell.enable = true;
2022-03-15 16:56:05 +01:00
}