nixos-configs/devices
matt1432 5fdf0d98ed
All checks were successful
Discord / discord commits (push) Has been skipped
chore: update flake.lock
Flake Inputs:
• Updated input 'ags':
    'github:Aylur/ags/344ea72' (2024-07-18)
  → 'github:Aylur/ags/aaef50b' (2024-09-09)

• Updated input 'discord-overlay':
    'github:matt1432/discord-nightly-overlay/925a600' (2024-09-07)
  → 'github:matt1432/discord-nightly-overlay/38e756a' (2024-09-10)

• Updated input 'home-manager':
    'github:nix-community/home-manager/aaebdea' (2024-09-07)
  → 'github:nix-community/home-manager/e5fa72b' (2024-09-10)

• Updated input 'hyprland':
    'git+https://github.com/hyprwm/Hyprland?ref=refs/heads/main&rev=312411f&submodules=1' (2024-09-07)
  → 'git+https://github.com/hyprwm/Hyprland?ref=refs/heads/main&rev=155d440&submodules=1' (2024-09-10)

• Updated input 'jellyfin-flake':
    'github:matt1432/nixos-jellyfin/03d120f' (2024-09-08)
  → 'github:matt1432/nixos-jellyfin/8ed2440' (2024-09-10)

• Updated input 'jovian':
    'github:Jovian-Experiments/Jovian-NixOS/2d050e6' (2024-09-06)
  → 'github:Jovian-Experiments/Jovian-NixOS/b9af8b3' (2024-09-10)

• Updated input 'nix-gaming':
    'github:fufexan/nix-gaming/ec0bcac' (2024-09-08)
  → 'github:fufexan/nix-gaming/5e1b352' (2024-09-10)

• Updated input 'nix-index-db':
    'github:Mic92/nix-index-database/32058e9' (2024-09-01)
  → 'github:Mic92/nix-index-database/6422754' (2024-09-08)

• Updated input 'nixpkgs-wayland':
    'github:nix-community/nixpkgs-wayland/0483138' (2024-09-07)
  → 'github:nix-community/nixpkgs-wayland/9004631' (2024-09-10)

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

Docker Images:
• vegardit/gitea-act-runner dind-latest:
   sha256:d1071eb21edbb477b2d93dda5c8ba4e0aa471ee73e4e52776389744215d8536c
 → sha256:674ef43377a9b802d53cbcf97ee128f95dd00cec817fb075950dcf7a618d880c

• rssbridge/rss-bridge latest:
   sha256:a869f33f22d10ce04b5efa40efe273f3454dee8113508f64bca18a85b1eff724
 → sha256:833fa82afded7dd01514807009ccf66983bc21d874fc6acbe057a1fcda0f5e2d

• ghcr.io/gethomepage/homepage latest:
   sha256:e5b2616d17db8961a53c0b7d389d812d31c265d35696d475732f53278c9276f7
 → sha256:5c264918d2d18a753da8657fee7e0579c8b11581b19275d9a93fde76a8267f3c

• postgres 15-alpine:
   sha256:362404e4f27e4f477c6cd4a76c65f06d387b7fda2caf216e656b17bf00f9908f
 → sha256:620dc79c45816cff4f38f0b49c71f15a3bc6bab9439ba1eea3a76d23ebcf1e4d

• ghcr.io/linuxserver/radarr latest:
   sha256:47acec85a0d92d107096088aebe83d1d0a434def34e5bac317fff18ca28741ae
 → sha256:5ab12592e768d04d94bc04877bee194f372ea3946abc6de689311f4d8559ee2f

Firefox Addons:
bitwarden: 2024.8.1 -> 2024.8.2
floccus: 5.2.6 -> 5.2.7
2024-09-10 12:26:34 -04:00
..
android refactor: replace 'with' with attrValues 2024-08-31 19:16:06 -04:00
bbsteamie refactor: add default in device modules and put home state ver in common 2024-09-05 08:17:23 -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 refactor: add default in device modules and put home state ver in common 2024-09-05 08:17:23 -04:00
homie feat(hass): add bluetooth speaker control 2024-09-10 01:21:08 -04:00
nos chore: update flake.lock 2024-09-10 12:26:34 -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 {
  ...