nixos-configs/devices
matt1432 1fc9ba5f35
All checks were successful
Discord / discord commits (push) Has been skipped
chore: update flake.lock
Flake Inputs:
• Updated input 'ags':
    'github:Aylur/ags/cd543af' (2024-09-25)
  → 'github:Aylur/ags/60180a1' (2024-10-07)

• Updated input 'astal':
    'github:Aylur/astal/e8536ed' (2024-10-03)
  → 'github:Aylur/astal/2a3bb3a' (2024-10-07)

• Updated input 'discord-overlay':
    'github:matt1432/discord-nightly-overlay/5cc5b7f' (2024-09-28)
  → 'github:matt1432/discord-nightly-overlay/256588e' (2024-10-06)

• Updated input 'gpu-screen-recorder-src':
    'git+https://repo.dec05eba.com/gpu-screen-recorder?ref=refs/heads/master&rev=29a21ff' (2024-10-06)
  → 'git+https://repo.dec05eba.com/gpu-screen-recorder?ref=refs/heads/master&rev=0a8d176' (2024-10-07)

• Updated input 'home-manager':
    'github:nix-community/home-manager/509dbf8' (2024-10-04)
  → 'github:nix-community/home-manager/0386303' (2024-10-07)

• Updated input 'hyprland':
    'github:hyprwm/Hyprland/0ec6072' (2024-10-05)
  → 'github:hyprwm/Hyprland/613eac4' (2024-10-08)

• Updated input 'hyprland-plugins':
    'github:hyprwm/hyprland-plugins/9215288' (2024-09-30)
  → 'github:hyprwm/hyprland-plugins/d05eb1f' (2024-10-08)

• Updated input 'jovian':
    'github:Jovian-Experiments/Jovian-NixOS/cb63dc9' (2024-10-04)
  → 'github:Jovian-Experiments/Jovian-NixOS/a25f915' (2024-10-08)

• Updated input 'nh':
    'github:viperML/nh/7650b37' (2024-09-07)
  → 'github:viperML/nh/afdff9a' (2024-10-08)

• Updated input 'nix-fast-build':
    'github:Mic92/nix-fast-build/2ba025e' (2024-10-05)
  → 'github:Mic92/nix-fast-build/1775c73' (2024-10-07)

• Updated input 'nix-gaming':
    'github:fufexan/nix-gaming/8801edc' (2024-10-06)
  → 'github:fufexan/nix-gaming/d5e4fb8' (2024-10-08)

• Updated input 'nix-index-db':
    'github:Mic92/nix-index-database/f9fdf82' (2024-09-30)
  → 'github:Mic92/nix-index-database/5fce10c' (2024-10-07)

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/bc947f5' (2024-10-04)
  → 'github:NixOS/nixpkgs/c31898a' (2024-10-06)

• Updated input 'nixpkgs-wayland':
    'github:nix-community/nixpkgs-wayland/736b015' (2024-10-05)
  → 'github:nix-community/nixpkgs-wayland/0a5e8f7' (2024-10-08)

• Updated input 'sops-nix':
    'github:Mic92/sops-nix/3198a24' (2024-09-30)
  → 'github:Mic92/sops-nix/06535d0' (2024-10-08)

• Updated input 'tuya-local-src':
    'github:make-all/tuya-local/4ede5ce' (2024-10-04)
  → 'github:make-all/tuya-local/df26ea0' (2024-10-08)

Misc Sources:
Vuetorrent: 2.13.3 -> 2.14.0
2024-10-08 15:11:56 -04:00
..
android refactor: replace 'with' with attrValues 2024-08-31 19:16:06 -04:00
bbsteamie chore: update flake.lock 2024-10-03 09:11:53 -04:00
binto refactor: add default in device modules and put home state ver in common 2024-09-05 08:17:23 -04:00
cluster chore(headscale): bump from working rev to 0.23.0 2024-09-20 23:09:28 -04:00
homie chore: update flake.lock 2024-10-08 15:11:56 -04:00
nos chore: update flake.lock 2024-10-08 15:11:56 -04:00
servivi fix(docker): add enable option 2024-09-05 08:53:54 -04:00
wim feat(wim): enable docker 2024-09-30 13:50:51 -04:00
README.md feat(homie): add tailscale aliases 2024-08-18 23:01:08 -04:00

Devices

This directory encompasses every device's main configuration file.

List of my Devices

Name Description
android My Nix-On-Droid configuration for my OnePlus 9 Pro
bbsteamie My wife's SteamDeck that has a pink case
binto My desktop PC with a multi-monitor setup and an NVIDIA (cringe) 3070
cluster Two Lenovo mini PCs that make use of NixOS-pcsd to form a cluster
homie My Lenovo mini PC that will serve as a Home-assistant server
nos My custom built NAS
servivi A gaming PC in a previous life, it is now used as a build farm and hosts game servers
wim My 2-1 Lenovo Laptop that I use for uni

Global Vars

In every device's default.nix, you'll find these settings

# $FLAKE/devices/<name>/default.nix

vars = {
  mainUser = "matt";
  hostName = "wim";
  ...
};

from these declared settings, I get access to global variables that are different on each host using a 'let in' block:

let
  inherit (config.vars) mainUser ...;
in {
  ...