refactor(devices): rearrange some files to prepare for nas
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
83afadfe78
commit
a572a13f04
23 changed files with 24 additions and 14 deletions
|
@ -28,7 +28,8 @@ stdenvNoCC.mkDerivation rec {
|
|||
runtimeInputs = [hyprland];
|
||||
text = "(sleep 1; hyprctl dispatch togglefloating) & ${name}";
|
||||
};
|
||||
in makeDesktopItem {
|
||||
in
|
||||
makeDesktopItem {
|
||||
name = "RARS";
|
||||
desktopName = "RARS";
|
||||
exec = "${execScript}/bin/execScript";
|
||||
|
|
|
@ -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
8
devices/nas/default.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
# WIP
|
||||
{...}: {
|
||||
imports = [
|
||||
./modules/arion
|
||||
./modules/borgbackup.nix
|
||||
./modules/nfs.nix
|
||||
];
|
||||
}
|
|
@ -1,3 +1,5 @@
|
|||
# Not currently operational
|
||||
|
||||
{config, ...}: let
|
||||
inherit (config.vars) mainUser hostName;
|
||||
in {
|
||||
|
|
|
@ -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 = {
|
||||
|
|
BIN
flake.nix
BIN
flake.nix
Binary file not shown.
|
@ -6,7 +6,6 @@
|
|||
}: let
|
||||
inherit (config.vars) mainUser;
|
||||
hyprland = config.home-manager.users.${mainUser}.wayland.windowManager.hyprland.finalPackage;
|
||||
|
||||
in {
|
||||
# Add home folder for home-manager to work
|
||||
users.users.greeter = {
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
# Nix stuff
|
||||
isTouchscreen = config.hardware.sensor.iio.enable;
|
||||
hyprland = config.home-manager.users.${mainUser}.wayland.windowManager.hyprland.finalPackage;
|
||||
|
||||
in {
|
||||
imports = [./ags.nix];
|
||||
|
||||
|
|
Loading…
Reference in a new issue