nixos-configs/devices
matt1432 50f5bf6b0e
All checks were successful
Discord / discord commits (push) Has been skipped
chore: update flake.lock
Flake Inputs:
• Updated input 'astal':
    'github:Aylur/astal/9e63fe3' (2024-09-28)
  → 'github:Aylur/astal/f17b28d' (2024-09-29)

• Updated input 'gpu-screen-recorder-src':
    'git+https://repo.dec05eba.com/gpu-screen-recorder?ref=refs/heads/master&rev=ebc8c69' (2024-09-27)
  → 'git+https://repo.dec05eba.com/gpu-screen-recorder?ref=refs/heads/master&rev=0eb9ce0' (2024-09-29)

• Updated input 'hyprland/hyprcursor':
    'github:hyprwm/hyprcursor/912d560' (2024-08-02)
  → 'github:hyprwm/hyprcursor/b98726e' (2024-09-28)

• Updated input 'nix-gaming':
    'github:fufexan/nix-gaming/b9750ee' (2024-09-28)
  → 'github:fufexan/nix-gaming/6401744' (2024-09-29)

• Updated input 'nix-gaming/umu':
    'git+https://github.com/Open-Wine-Components/umu-launcher/?dir=packaging/nix&ref=refs/heads/main&rev=e42043a&submodules=1' (2024-09-19)
  → 'git+https://github.com/Open-Wine-Components/umu-launcher/?dir=packaging/nix&ref=refs/heads/main&rev=5cc1c3f&submodules=1' (2024-09-25)

• Updated input 'nix-index-db':
    'github:Mic92/nix-index-database/c7515c2' (2024-09-22)
  → 'github:Mic92/nix-index-database/a2ab158' (2024-09-29)

• Updated input 'nixpkgs-wayland':
    'github:nix-community/nixpkgs-wayland/811af6a' (2024-09-27)
  → 'github:nix-community/nixpkgs-wayland/206b2a2' (2024-09-29)

• Updated input 'spotifyplus-src':
    'github:thlucas1/homeassistantcomponent_spotifyplus/f017285' (2024-09-28)
  → 'github:thlucas1/homeassistantcomponent_spotifyplus/0765d55' (2024-09-29)

Docker Images:
• ghcr.io/linuxserver/radarr latest:
   sha256:1a50d4f08e283aa9ff4c723b940dceb4e8aeff7946e1993213efd0de3d5a4adb
 → sha256:d758c5a5edc4cda1263260948b3f460f511430bccea505dca3cb70af01332ff8
2024-09-29 16:31:31 -04:00
..
android refactor: replace 'with' with attrValues 2024-08-31 19:16:06 -04:00
bbsteamie refactor: clean up FIXMEs and overlays 2024-09-25 15:34:56 -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 feat(hass): add script of turn_on_ue 2024-09-28 21:46:53 -04:00
nos chore: update flake.lock 2024-09-29 16:31:31 -04:00
servivi fix(docker): add enable option 2024-09-05 08:53:54 -04:00
wim fix(wim): disable scanRandMacAddress 2024-09-25 15:07:54 -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 {
  ...