use bezel flake

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-11-18 23:33:32 -06:00
parent df3057b347
commit 4a3e0290d0
12 changed files with 68 additions and 326 deletions

View file

@ -8,6 +8,8 @@
common.url = "git+https://git.joshuabell.xyz/ringofstorms/dotfiles?dir=flakes/common";
# secrets.url = "path:../../flakes/secrets";
secrets.url = "git+https://git.joshuabell.xyz/ringofstorms/dotfiles?dir=flakes/secrets";
# beszel.url = "path:../../flakes/beszel";
beszel.url = "git+https://git.joshuabell.xyz/ringofstorms/dotfiles?dir=flakes/beszel";
ros_neovim.url = "git+https://git.joshuabell.xyz/ringofstorms/nvim";
};
@ -18,28 +20,25 @@
home-manager,
common,
secrets,
beszel,
ros_neovim,
...
}@inputs:
let
hostConfig = {
configurationName = "h003";
system = "x86_64-linux";
stateVersion = "25.05";
primaryUser = "luser";
overlayIp = "100.64.0.14";
};
configurationName = "h003";
system = "x86_64-linux";
stateVersion = "25.05";
primaryUser = "luser";
overlayIp = "100.64.0.14";
lib = nixpkgs.lib;
in
with hostConfig;
{
nixosConfigurations = {
"${configurationName}" = (
lib.nixosSystem {
inherit system;
specialArgs = {
inherit inputs hostConfig;
inherit inputs;
};
modules = [
home-manager.nixosModules.default
@ -58,6 +57,17 @@
common.nixosModules.tty_caps_esc
common.nixosModules.zsh
beszel.nixosModules.agent
(
{ ... }:
{
beszelAgent = {
listen = "${overlayIp}:45876";
token = "20208198-87c2-4bd1-ab09-b97c3b9c6a6e";
};
}
)
./hardware-configuration.nix
./mods
(