nixos-configs/devices
matt1432 c39d5435ee
All checks were successful
Discord / discord commits (push) Has been skipped
chore: update flake.lock
Flake Inputs:
• Updated input 'astal-tray':
    'github:astal-sh/tray/6a5fdcb' (2024-08-21)
  → 'github:astal-sh/tray/d262454' (2024-08-23)

• Updated input 'discord-overlay':
    'github:matt1432/discord-nightly-overlay/635df5a' (2024-08-20)
  → 'github:matt1432/discord-nightly-overlay/26fc041' (2024-08-24)

• Updated input 'discord-overlay/Vencord-src':
    'github:Vendicated/vencord/eaca14b' (2024-08-17)
  → 'github:Vendicated/vencord/6659f2c' (2024-08-23)

• Updated input 'home-manager':
    'github:nix-community/home-manager/2598861' (2024-08-18)
  → 'github:nix-community/home-manager/c2cd2a5' (2024-08-23)

• Updated input 'hyprgrass':
    'github:horriblename/hyprgrass/0bb3b82' (2024-08-11)
  → 'github:horriblename/hyprgrass/d0033c9' (2024-08-25)

• Updated input 'hyprland':
    'git+https://github.com/hyprwm/Hyprland?ref=refs/heads/main&rev=f634b9e&submodules=1' (2024-08-22)
  → 'git+https://github.com/hyprwm/Hyprland?ref=refs/heads/main&rev=b672118&submodules=1' (2024-08-25)

• Updated input 'jellyfin-flake':
    'github:matt1432/nixos-jellyfin/35a755c' (2024-08-05)
  → 'github:matt1432/nixos-jellyfin/f0ab63b' (2024-08-25)

• Updated input 'nix-gaming':
    'github:fufexan/nix-gaming/ad4e195' (2024-08-21)
  → 'github:fufexan/nix-gaming/963803d' (2024-08-25)

• Updated input 'nix-gaming/umu':
    'git+https://github.com/Open-Wine-Components/umu-launcher/?dir=packaging/nix&ref=refs/heads/main&rev=c71a45a&submodules=1' (2024-08-15)
  → 'git+https://github.com/Open-Wine-Components/umu-launcher/?dir=packaging/nix&ref=refs/heads/main&rev=dd3105e&submodules=1' (2024-08-20)

• Updated input 'nix-index-db':
    'github:Mic92/nix-index-database/392828a' (2024-08-18)
  → 'github:Mic92/nix-index-database/e333d62' (2024-08-25)

• Updated input 'pcsd':
    'github:matt1432/nixos-pcsd/2d524af' (2024-08-22)
  → 'github:matt1432/nixos-pcsd/724893b' (2024-08-24)

Docker Images:
• freshrss/freshrss latest:
   sha256:0e8708498272dac567b9d1654822ccb22037cf4b1792ec75b9929e70e53ddd16
 → sha256:126b5202e65bbfef1da19be87fb21d9909e104d3ad185775c999b76a420d30bc

• rssbridge/rss-bridge latest:
   sha256:46d13f894d325fae4202a42d91a7f4693c12f8db46d8c8a4aeadd17ff4c961a7
 → sha256:311b80e213d3f73bfac81987aac3fbf71c521625df5f67ee2e1e83328b509e1e

• ghcr.io/linuxserver/sonarr latest:
   sha256:bffa87787eacff9023df4400f521c159566d14b5a280caec8b54196071e6038e
 → sha256:0777b308a414000505651059a95af373ded6aba8ce5a40b50d7aad333dc912e2
2024-08-25 12:30:48 -04:00
..
android feat(droid): make switch command more like nh 2024-08-20 08:43:38 -04:00
bbsteamie feat(bbsteamie): mount sdcard at boot 2024-08-14 22:43:06 -04:00
binto fix(binto): setup swap 2024-08-25 12:17:29 -04:00
cluster feat(btrfs): place swap in its own subvol 2024-08-25 02:00:32 -04:00
homie feat(btrfs): place swap in its own subvol 2024-08-25 02:00:32 -04:00
nos chore: update flake.lock 2024-08-25 12:30:48 -04:00
servivi feat(btrfs): place swap in its own subvol 2024-08-25 02:00:32 -04:00
wim feat(btrfs): place swap in its own subvol 2024-08-25 02:00:32 -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 {
  ...