Something went wrong. Try again.
My personal dotfiles and NixOS configurations.
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889{ inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
home-manager = { url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; };
stylix = { url = "github:nix-community/stylix"; inputs.nixpkgs.follows = "nixpkgs"; };
sops-nix = { url = "github:Mic92/sops-nix"; inputs.nixpkgs.follows = "nixpkgs"; };
llm-agents.url = "github:numtide/llm-agents.nix";
tranquil.url = "git+https://tangled.org/tranquil.farm/tranquil-pds";
tangled.url = "git+https://tangled.org/tangled.org/core";
apple-silicon-support.url = "github:nix-community/nixos-apple-silicon";
noctalia.url = "github:noctalia-dev/noctalia";
zen-browser = { url = "github:0xc000022070/zen-browser-flake"; inputs.nixpkgs.follows = "nixpkgs"; inputs.home-manager.follows = "home-manager"; };
firefox-addons = { url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons"; inputs.nixpkgs.follows = "nixpkgs"; };
niri-src = { url = "github:niri-wm/niri/v26.04"; flake = false; };
niri-flake = { url = "github:sodiboo/niri-flake/very-refactor"; inputs.niri-unstable.follows = "niri-src"; };
sonora = { url = "github:sonorahq/sonora"; inputs.nixpkgs.follows = "nixpkgs"; };
moonshine = { url = "github:hgaiser/moonshine"; inputs.nixpkgs.follows = "nixpkgs"; }; };
outputs = { self, nixpkgs, ... }@inputs: let lib = nixpkgs.lib; mkHost = import ./lib/mkHost.nix { inherit inputs self; }; hostNames = builtins.attrNames ( lib.filterAttrs (name: _: builtins.pathExists (./hosts + "/${name}/default.nix")) (builtins.readDir ./hosts) );
hostOverrides = { obelisk = { system = "aarch64-linux"; }; }; in { nixosConfigurations = lib.genAttrs hostNames (name: mkHost name (hostOverrides.${name} or { }));
devShells.x86_64-linux.default = nixpkgs.legacyPackages.x86_64-linux.mkShell { packages = with nixpkgs.legacyPackages.x86_64-linux; [ sops age ssh-to-age nixos-rebuild ]; }; };}