{ description = "someone flake configuration based on hjem"; outputs = inputs: inputs.flake-parts.lib.mkFlake {inherit inputs;} { systems = ["x86_64-linux" "aarch64-linux"]; imports = [./hosts ./pkgs]; perSystem = { config, pkgs, ... }: { devShells = { default = pkgs.mkShell { packages = [pkgs.alejandra pkgs.git config.packages.repl]; name = "someone"; DIRENV_LOG_FORMAT = ""; }; }; # Nix Formatter formatter = pkgs.alejandra; }; }; inputs = { # global, so they can be `.follow`ed systems.url = "github:nix-systems/default-linux"; flake-compat.url = "github:edolstra/flake-compat"; flake-utils = { url = "github:numtide/flake-utils"; inputs.systems.follows = "systems"; }; flake-parts = { url = "github:hercules-ci/flake-parts"; inputs.nixpkgs-lib.follows = "nixpkgs"; }; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; # rest of inputs, alphabetical order agenix = { url = "github:ryantm/agenix"; inputs = { nixpkgs.follows = "nixpkgs"; systems.follows = "systems"; }; }; import-tree.url = "github:vic/import-tree"; zen-browser = { url = "github:youwen5/zen-browser-flake"; inputs.nixpkgs.follows = "nixpkgs"; }; helium = { url = "github:schembriaiden/helium-browser-nix-flake"; inputs.nixpkgs.follows = "nixpkgs"; }; nix-index-db = { url = "github:Mic92/nix-index-database"; inputs.nixpkgs.follows = "nixpkgs"; }; # --- Server (hetzner) inputs --- # Pinned to 24.05 to match the deployed Hetzner server exactly. nixos-24-05 = { url = "github:NixOS/nixpkgs/nixos-24.05"; }; nixpkgs-unstable = { url = "github:NixOS/nixpkgs/nixos-unstable"; }; disko = { url = "github:nix-community/disko"; inputs.nixpkgs.follows = "nixos-24-05"; }; sops-nix = { url = "github:Mic92/sops-nix"; inputs.nixpkgs.follows = "nixos-24-05"; }; }; }