nixos-configs/devices
matt1432 4173e8bef3
All checks were successful
Discord / discord commits (push) Has been skipped
chore: update flake.lock
Flake Inputs:
• Updated input 'discord-overlay':
    'github:matt1432/discord-nightly-overlay/02c87d4' (2024-07-23)
  → 'github:matt1432/discord-nightly-overlay/843a8bd' (2024-07-24)

• Updated input 'gpu-screen-recorder-src':
    'git+https://repo.dec05eba.com/gpu-screen-recorder?ref=refs/heads/master&rev=7d719a4' (2024-07-23)
  → 'git+https://repo.dec05eba.com/gpu-screen-recorder?ref=refs/heads/master&rev=e107adb' (2024-07-23)

• Updated input 'home-manager':
    'github:nix-community/home-manager/7560dc9' (2024-07-23)
  → 'github:nix-community/home-manager/304a011' (2024-07-24)

• Updated input 'hyprland':
    'git+https://github.com/hyprwm/Hyprland?ref=refs/heads/main&rev=8a4548e&submodules=1' (2024-07-23)
  → 'git+https://github.com/hyprwm/Hyprland?ref=refs/heads/main&rev=4beac91&submodules=1' (2024-07-24)

• Updated input 'hyprland/aquamarine':
    'github:hyprwm/aquamarine/601f6cf' (2024-07-21)
  → 'github:hyprwm/aquamarine/353dc1b' (2024-07-24)

• Updated input 'nix-gaming':
    'github:fufexan/nix-gaming/62dbe58' (2024-07-21)
  → 'github:fufexan/nix-gaming/6796ca9' (2024-07-25)

• Updated input 'piper-src':
    'github:libratbag/piper/efa2712' (2024-06-04)
  → 'github:libratbag/piper/71431bd' (2024-07-24)

• Updated input 'ts-for-gir-src':
    'github:gjsify/ts-for-gir/8b3ec80' (2024-07-22)
  → 'github:gjsify/ts-for-gir/b4768a5' (2024-07-24)

Docker Images:
• vegardit/gitea-act-runner dind-latest:
   sha256:a6d70b4df97eab6b52ee7094c80109b28c0c2e8d9066c60b71b3222e88726444
 → sha256:4b6c8d7b73c597b70b6d675ad8bb75b1ad0cdd686fabd51a50f89baa2e9c27e8

• postgres 14:
   sha256:0c9b69b804edbfd211b8cdfc87ac4c79db52dbcc8fb8c278d07136db2f79fe6c
 → sha256:11abfc3f53b02f6099db1fb0e202b41be3ec66698180da9eb8cfad0ce55051cd

• nextcloud 29.0.4-fpm:
   sha256:dd4306e19bb2992246f837e50541b7baf010f47954e3afcf65cafd10657f365d
 → sha256:ef2c7bb5acb7763d2f898214db4a65876c828aaf36567cd2ab2af6697c2f758e

• nginx latest:
   sha256:05ab1728068284cbd42d54554fa2b69a3d6334adafccf2e70cf20925d7d55e90
 → sha256:6af79ae5de407283dcea8b00d5c37ace95441fd58a8b1d2aa1ed93f5511bb18c

• postgres 15-alpine:
   sha256:d98d4ee225766374077e2d689a4a20be9195c0c112dfc36ff9b54701d279e221
 → sha256:468d34fefd6338031787c7b8e94078975b3aaf4d66c7ead25c39cd3ba46a15c6

• ghcr.io/linuxserver/bazarr latest:
   sha256:5da74fc1bbd5da69e3b4f9b2376f6ccfbe3b47f143e6eb5651ed37cc1d4412dd
 → sha256:25f0d19ba9226fdf15aec0fc7fa134ba89fc6f77f09d7bd45b33c5960c47821e

• ghcr.io/linuxserver/calibre latest:
   sha256:8db829132ee053bfdb0fd5835c25d357af396048ea2d4666ca1e21a715a3b45e
 → sha256:9d769fe402690da7f3ca750a925859ef99b4e5bec86d4739f87c7cd43e18a246

• ghcr.io/linuxserver/sabnzbd latest:
   sha256:31ea64a7ce1e9a5ff8187f9b7c905eaa1d0a79d49b04724e47059c67407157eb
 → sha256:d6a2a967d47b495c5342bc23de76d35eeb2f3ceb53c7be51885ad25f95dffe9b

• ghcr.io/fallenbagel/jellyseerr develop:
   sha256:15e7464dd1a2997d9398b1f2161c7e8fff8518cf71c1b20b8fb1b5e354b31ece
 → sha256:1a70daa5c9a72bb0846602ef8ce16949ee4a6144f5577daed3c539c4e5b192de
2024-07-24 22:11:30 -04:00
..
android refactor: modularize flake and import nixpkgs 2024-05-20 22:41:45 -04:00
bbsteamie refactor(devices): place configs in order and delete oksys 2024-07-14 22:59:33 -04:00
binto refactor(devices): place configs in order and delete oksys 2024-07-14 22:59:33 -04:00
cluster refactor(devices): place configs in order and delete oksys 2024-07-14 22:59:33 -04:00
nos chore: update flake.lock 2024-07-24 22:11:30 -04:00
servivi feat: go back to nix 2024-07-24 21:58:37 -04:00
wim refactor(devices): place configs in order and delete oksys 2024-07-14 22:59:33 -04:00
README.md refactor(devices): place configs in order and delete oksys 2024-07-14 22:59:33 -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
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 {
  ...