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

• Updated input 'discord-overlay':
    'github:matt1432/discord-nightly-overlay/1975161' (2024-09-14)
  → 'github:matt1432/discord-nightly-overlay/64c50d0' (2024-09-18)

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

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

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

• Updated input 'hyprland/aquamarine':
    'github:hyprwm/aquamarine/e4a1320' (2024-09-07)
  → 'github:hyprwm/aquamarine/752d0fb' (2024-09-18)

• Updated input 'jovian':
    'github:Jovian-Experiments/Jovian-NixOS/02cf60c' (2024-09-12)
  → 'github:Jovian-Experiments/Jovian-NixOS/f7a1bb0' (2024-09-18)

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

• Updated input 'nixd':
    'github:nix-community/nixd/f6ca743' (2024-08-22)
  → 'github:nix-community/nixd/e2f0d90' (2024-09-18)

• Updated input 'nixpkgs-wayland':
    'github:nix-community/nixpkgs-wayland/a36467e' (2024-09-15)
  → 'github:nix-community/nixpkgs-wayland/aaedb02' (2024-09-18)

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

Docker Images:
• vegardit/gitea-act-runner dind-latest:
   sha256:acc510a4754aa871dcaac69396055fea3117b5378a36efd9fbf3b3db542fa81a
 → sha256:378efec2a8f9e17874965b6a03ea935b0195eb85bdf60305eee994f684134f27

• ghcr.io/linuxserver/bazarr latest:
   sha256:476c315f0381d0b8c7921fbf3116b65e96ae32128df5fd27600e97213b862809
 → sha256:71f545e4a6cfda02798fd531bfc27b14cbf7345bb28fe503467fb1ab13c3bfbc

• ghcr.io/linuxserver/prowlarr latest:
   sha256:c1318191d5211ac7462c754422eafe350ed0de61c4160065a420896068ec1ccc
 → sha256:bddc64a17aa38972f4c032f67efc3bf0a498883257e615a2d807ca44550cebf0

Firefox Addons:
darkreader: 4.9.89 -> 4.9.92
2024-09-18 17:47:10 -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(cluster): start headscale before caddy 2024-09-15 22:30:15 -04:00
homie feat(hass): init spotifyd config 2024-09-18 15:26:17 -04:00
nos chore: update flake.lock 2024-09-18 17:47:10 -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 {
  ...