nixos-configs/devices
matt1432 2ced84dc96
All checks were successful
Discord / discord commits (push) Has been skipped
chore: update flake.lock
Flake Inputs:
• Updated input 'astal':
    'github:Aylur/astal/e9f9de6' (2024-09-13)
  → 'github:Aylur/astal/71ee1ea' (2024-09-14)

• Updated input 'discord-overlay':
    'github:matt1432/discord-nightly-overlay/4bae358' (2024-09-12)
  → 'github:matt1432/discord-nightly-overlay/1975161' (2024-09-14)

• Updated input 'gpu-screen-recorder-src':
    'git+https://repo.dec05eba.com/gpu-screen-recorder?ref=refs/heads/master&rev=3446f86' (2024-09-06)
  → 'git+https://repo.dec05eba.com/gpu-screen-recorder?ref=refs/heads/master&rev=4a8544e' (2024-09-15)

• Updated input 'home-llm-src':
    'github:acon96/home-llm/90c0edc' (2024-08-21)
  → 'github:acon96/home-llm/4f145d2' (2024-09-14)

• Updated input 'home-manager':
    'github:nix-community/home-manager/da8406a' (2024-09-12)
  → 'github:nix-community/home-manager/a9c9cc6' (2024-09-15)

• Updated input 'hyprland':
    'git+https://github.com/hyprwm/Hyprland?ref=refs/heads/main&rev=118be4d&submodules=1' (2024-09-12)
  → 'git+https://github.com/hyprwm/Hyprland?ref=refs/heads/main&rev=9e35656&submodules=1' (2024-09-15)

• Updated input 'nix-gaming':
    'github:fufexan/nix-gaming/3a97598' (2024-09-12)
  → 'github:fufexan/nix-gaming/3e51c98' (2024-09-15)

• Updated input 'nix-gaming/umu':
    'git+https://github.com/Open-Wine-Components/umu-launcher/?dir=packaging/nix&ref=refs/heads/main&rev=2d3c948&submodules=1' (2024-09-04)
  → 'git+https://github.com/Open-Wine-Components/umu-launcher/?dir=packaging/nix&ref=refs/heads/main&rev=e064439&submodules=1' (2024-09-14)

• Updated input 'nix-index-db':
    'github:Mic92/nix-index-database/6422754' (2024-09-08)
  → 'github:Mic92/nix-index-database/0a2fba6' (2024-09-15)

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/1355a0c' (2024-09-10)
  → 'github:NixOS/nixpkgs/345c263' (2024-09-13)

• Updated input 'nixpkgs-wayland':
    'github:nix-community/nixpkgs-wayland/5eedb68' (2024-09-12)
  → 'github:nix-community/nixpkgs-wayland/a36467e' (2024-09-15)

• Updated input 'sops-nix':
    'github:Mic92/sops-nix/cede1a0' (2024-09-09)
  → 'github:Mic92/sops-nix/f30b1ba' (2024-09-13)

Docker Images:
• ghcr.io/linuxserver/bazarr latest:
   sha256:16a30c1ef7412f3781dc9635bd42798399601a9750f871cb68e5efb5545ce0f5
 → sha256:476c315f0381d0b8c7921fbf3116b65e96ae32128df5fd27600e97213b862809

• ghcr.io/linuxserver/radarr latest:
   sha256:5ab12592e768d04d94bc04877bee194f372ea3946abc6de689311f4d8559ee2f
 → sha256:3bee8fb8eb4bb93b77eb4e0c5d755f25649223965af59f5f0363ddda03c6d10c

• ghcr.io/linuxserver/sonarr latest:
   sha256:138998077a802c18b76c26636301fcd5517b7bfaf75db025d457199176078a12
 → sha256:28cc44346fc87805b52a4376a89edc12cf082a5530cffee800a6c05dee482734
2024-09-15 19:51:41 -04:00
..
android refactor: replace 'with' with attrValues 2024-08-31 19:16:06 -04:00
bbsteamie chore: update flake.lock 2024-09-12 21:35: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 fix(headscale): force close after a few seconds 2024-09-12 22:29:59 -04:00
homie feat: add yaml2nix script 2024-09-13 17:26:50 -04:00
nos chore: update flake.lock 2024-09-15 19:51:41 -04:00
servivi fix(docker): add enable option 2024-09-05 08:53:54 -04:00
wim refactor: add default in device modules and put home state ver in common 2024-09-05 08:17:23 -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 {
  ...