Nix configurations for my homelab

tangled: rename tangled.sh -> tangled.org

yemou.pink 778579c1 527b3b2d

verified
Changed files
+53 -36
modules
services
caddy
websites
+44 -27
flake.lock
···
},
"locked": {
"dir": "blender",
-
"lastModified": 1755896146,
-
"narHash": "sha256-JAVIWAMG3imYamhxvx94FtvHt17pC/z2fCHDiwla45I=",
+
"lastModified": 1758185131,
+
"narHash": "sha256-GlScQnoFgaFLQ9cd4llbJSisR0LjafjMAkBZQV7m4uk=",
"owner": "edolstra",
"repo": "nix-warez",
-
"rev": "8ae661516ca53314cfad8a8d3ab41e2274fdc168",
+
"rev": "f49a87422539d748a34b9f3b07a7b8ced7242dff",
"type": "github"
},
"original": {
···
"inputs": {
"flake-utils": "flake-utils_2",
"nixpkgs": [
-
"tangled-sh",
+
"tangled",
"nixpkgs"
]
},
···
]
},
"locked": {
-
"lastModified": 1757529548,
-
"narHash": "sha256-If5AT3dPXH0BM+q+pwyZvtWLTmlqJmGW6IDZ2MqlGRU=",
+
"lastModified": 1758207369,
+
"narHash": "sha256-BG7GlXo5moXtrFSCqnkIb1Q00szOZXTj5Dx7NmWgves=",
"owner": "nix-community",
"repo": "home-manager",
-
"rev": "e0154ae41614e32a443c43ee51eee9eed3ad9a48",
+
"rev": "b5698ed57db7ee7da5e93df2e6bbada91c88f3ce",
"type": "github"
},
"original": {
···
},
"nixpkgs": {
"locked": {
-
"lastModified": 1757536220,
-
"narHash": "sha256-isLCR9rmUj451Vlu7XhlSeaTSsvwV5J6KaFIpJ124rI=",
+
"lastModified": 1758229499,
+
"narHash": "sha256-5TS4Rtwpdg/oR26AsvPfWiBGRm9fsPEJH0Ig+Dr6Sfw=",
"owner": "NixOS",
"repo": "nixpkgs",
-
"rev": "ed1362ec8b9519b3f2f6dcaa81362f8b626e43a1",
+
"rev": "971d10cf2dd0dd459d907ba777b429649f56b50b",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable-small",
+
"repo": "nixpkgs",
+
"type": "github"
+
}
+
},
+
"nixpkgs-stable": {
+
"locked": {
+
"lastModified": 1758070117,
+
"narHash": "sha256-uLwwHFCZnT1c3N3biVe/0hCkag2GSrf9+M56+Okf+WY=",
+
"owner": "NixOS",
+
"repo": "nixpkgs",
+
"rev": "e9b7f2ff62b35f711568b1f0866243c7c302028d",
+
"type": "github"
+
},
+
"original": {
+
"owner": "NixOS",
+
"ref": "nixos-25.05",
"repo": "nixpkgs",
"type": "github"
}
···
},
"nixpkgs_3": {
"locked": {
-
"lastModified": 1757034884,
-
"narHash": "sha256-PgLSZDBEWUHpfTRfFyklmiiLBE1i1aGCtz4eRA3POao=",
+
"lastModified": 1757746433,
+
"narHash": "sha256-fEvTiU4s9lWgW7mYEU/1QUPirgkn+odUBTaindgiziY=",
"owner": "NixOS",
"repo": "nixpkgs",
-
"rev": "ca77296380960cd497a765102eeb1356eb80fed0",
+
"rev": "6d7ec06d6868ac6d94c371458fc2391ded9ff13d",
"type": "github"
},
"original": {
···
"rust-overlay": "rust-overlay"
},
"locked": {
-
"lastModified": 1757435427,
-
"narHash": "sha256-NVSIJm+GIWJlqLFXiK7POM9KuOEFJa4FAz9d9aB0exY=",
+
"lastModified": 1757897943,
+
"narHash": "sha256-XHW5OewFMYQ7eiQ/X+uoruMTDKn/IGeDXr+Le6sa7Cw=",
"owner": "roc-lang",
"repo": "roc",
-
"rev": "0331d5aebe0d6b1b2393c116c94ef733f5e9582a",
+
"rev": "211b42db82b20495f797865014fe043abef80ffd",
"type": "github"
},
"original": {
···
"home-manager": "home-manager",
"impermanence": "impermanence",
"nixpkgs": "nixpkgs",
+
"nixpkgs-stable": "nixpkgs-stable",
"roc-lang": "roc-lang",
"sops-nix": "sops-nix",
-
"tangled-sh": "tangled-sh",
+
"tangled": "tangled",
"yemou-dotfiles": "yemou-dotfiles",
"yemou-scripts": "yemou-scripts"
}
···
"nixpkgs": "nixpkgs_3"
},
"locked": {
-
"lastModified": 1757503115,
-
"narHash": "sha256-S9F6bHUBh+CFEUalv/qxNImRapCxvSnOzWBUZgK1zDU=",
+
"lastModified": 1758007585,
+
"narHash": "sha256-HYnwlbY6RE5xVd5rh0bYw77pnD8lOgbT4mlrfjgNZ0c=",
"owner": "Mic92",
"repo": "sops-nix",
-
"rev": "0bf793823386187dff101ee2a9d4ed26de8bbf8c",
+
"rev": "f77d4cfa075c3de66fc9976b80e0c4fc69e2c139",
"type": "github"
},
"original": {
···
"type": "github"
}
},
-
"tangled-sh": {
+
"tangled": {
"inputs": {
"gomod2nix": "gomod2nix",
"htmx-src": "htmx-src",
···
"rev": "6200797b6377ab37640e9236633df2b845ae4c49",
"revCount": 1335,
"type": "git",
-
"url": "https://tangled.sh/@tangled.sh/core"
+
"url": "https://tangled.org/@tangled.org/core"
},
"original": {
"ref": "refs/tags/v1.9.0-alpha",
"type": "git",
-
"url": "https://tangled.sh/@tangled.sh/core"
+
"url": "https://tangled.org/@tangled.org/core"
}
},
"yemou-dotfiles": {
···
"rev": "e707438e1157ac7b085c48c44bab3948d07825a6",
"revCount": 102,
"type": "git",
-
"url": "https://tangled.sh/@yemou.pink/dotfiles"
+
"url": "https://tangled.org/@yemou.pink/dotfiles"
},
"original": {
"type": "git",
-
"url": "https://tangled.sh/@yemou.pink/dotfiles"
+
"url": "https://tangled.org/@yemou.pink/dotfiles"
}
},
"yemou-scripts": {
···
"rev": "a0196a345c63894e8ce671ef660c34ce44890150",
"revCount": 30,
"type": "git",
-
"url": "https://tangled.sh/@yemou.pink/scripts"
+
"url": "https://tangled.org/@yemou.pink/scripts"
},
"original": {
"type": "git",
-
"url": "https://tangled.sh/@yemou.pink/scripts"
+
"url": "https://tangled.org/@yemou.pink/scripts"
}
}
},
+3 -3
flake.nix
···
sops-nix.url = "github:Mic92/sops-nix";
yemou-dotfiles = {
-
url = "git+https://tangled.sh/@yemou.pink/dotfiles";
+
url = "git+https://tangled.org/@yemou.pink/dotfiles";
flake = false;
};
yemou-scripts = {
-
url = "git+https://tangled.sh/@yemou.pink/scripts";
+
url = "git+https://tangled.org/@yemou.pink/scripts";
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager = {
···
inputs.nixpkgs.follows = "nixpkgs";
};
roc-lang.url = "github:roc-lang/roc";
-
tangled-sh.url = "git+https://tangled.sh/@tangled.sh/core?ref=refs/tags/v1.9.0-alpha";
+
tangled.url = "git+https://tangled.org/@tangled.org/core?ref=refs/tags/v1.9.0-alpha";
};
outputs =
+1 -1
modules/nix.nix
···
};
registry.seed.to = {
type = "git";
-
url = "https://tangled.sh/@yemou.pink/seed";
+
url = "https://tangled.org/@yemou.pink/seed";
};
};
}
+1 -1
modules/services/caddy/websites/pink-yemou.nix
···
expression `{path} == "/"`
}
-
redir @redirect https://tangled.sh/@yemou.pink
+
redir @redirect https://tangled.org/@yemou.pink
handle_errors {
respond "{err.status_code} {err.status_text}"
+2 -2
modules/services/tangled.nix
···
-
{ config, tangled-sh, ... }:
+
{ config, tangled, ... }:
{
-
imports = [ tangled-sh.nixosModules.knot ];
+
imports = [ tangled.nixosModules.knot ];
environment.persistence."/data/persistent".directories = [
{
+2 -2
readme.md
···
# Dotfiles
This repo only contains configurations for setting up each machine.
Configurations specific to an application (i.e. text editor config, shell config, etc.) are stored in a
-
[different git repository](https://tangled.sh/@yemou.pink/dotfiles).
+
[different git repository](https://tangled.org/@yemou.pink/dotfiles).
This separation is so I don't need to perform a `nixos-rebuild` when changing application configs on my desktop.
My dotfiles are still included as an input to this flake so that changes stay in sync on machines where I don't manually
···
- [Caddy](https://caddyserver.com)
- [Nextcloud](https://nextcloud.com)
- [soju](https://soju.im)
-
- [tangled-knot](https://tangled.sh/@tangled.sh/core)
+
- [tangled-knot](https://tangled.org/@tangled.org/core)