refactor(devices): rearrange some files to prepare for nas

This commit is contained in:
matt1432 2024-02-17 20:45:06 -05:00
parent 83afadfe78
commit a572a13f04
23 changed files with 24 additions and 18 deletions

View file

@ -8,8 +8,9 @@ This directory encompasses every device's main configuration file.
| ---------- | ------------------------------------------------------------------------------------------------------- |
| `android` | My [Nix-On-Droid](https://github.com/nix-community/nix-on-droid) configuration for my OnePlus 9 Pro |
| `binto` | My desktop PC with a multi-monitor setup and an NVIDIA (cringe) 3070 |
| `cluster` | WIP |
| `oksys` | A very old Acer laptop that went from sailing the seas for years to becoming my web server and VPN host |
| `cluster` | Two Lenovo mini pcs that make use of [NixOS-pcsd](https://github.com/matt1432/nixos-pcsd) to form a cluster |
| `nas` | My current custom built server running Proxmox. Conversion to NixOS wip |
| `oksys` | A very old Acer laptop that went from sailing the seas for years to becoming my web server and VPN host. It is now retired indefinitely. |
| `servivi` | A gaming PC in a previous life, it is now used to slowly convert my Proxmox server to NixOS |
| `wim` | My 2-1 Lenovo Laptop that I use for uni |

8
devices/nas/default.nix Normal file
View file

@ -0,0 +1,8 @@
# WIP
{...}: {
imports = [
./modules/arion
./modules/borgbackup.nix
./modules/nfs.nix
];
}

View file

@ -1,3 +1,5 @@
# Not currently operational
{config, ...}: let
inherit (config.vars) mainUser hostName;
in {

View file

@ -8,11 +8,11 @@ in {
../../modules/sshd.nix
../../modules/tailscale.nix
./modules/arion
./modules/binary-cache.nix
./modules/borgbackup.nix
./modules/minecraft.nix
./modules/nfs.nix
# WIP
../nas
];
vars = {