Something went wrong. Try again.
Something went wrong. Try again.
raspi-dotfiles flake.nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138{ description = "System configuration for raspi-doboz server";
inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs-curl-8-19-0.url = "github:NixOS/nixpkgs/d233902339c02a9c334e7e593de68855ad26c4cb"; nixos-hardware = { url = "github:NixOS/nixos-hardware/master"; inputs.nixpkgs.follows = "null"; }; nixos-raspberrypi = { url = "github:nvmd/nixos-raspberrypi/nixos-unstable"; # a long running build is cached with their nixpkgs, let's keep it for now #inputs.nixpkgs.follows = "nixpkgs"; inputs.argononed.follows = "null"; inputs.nixos-images.follows = "null"; inputs.flake-compat.follows = "null"; }; sops-nix = { url = "github:Mic92/sops-nix"; inputs.nixpkgs.follows = "nixpkgs"; }; home-manager = { url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "null"; }; moe = { url = "github:tchfoo/moe"; inputs.nixpkgs.follows = "nixpkgs"; }; ymstnt-website = { url = "git+https://git.tchfoo.com/ymstnt/website"; flake = false; }; nur = { url = "github:nix-community/NUR"; inputs.nixpkgs.follows = "nixpkgs"; inputs.flake-parts.follows = "flake-parts"; }; nixpkgs-patcher.url = "github:gepbird/nixpkgs-patcher"; tangled-core = { url = "git+https://tangled.org/tangled.org/core"; inputs.nixpkgs.follows = "nixpkgs"; }; nixpkgs-patch-nixos-nginx-add-build-time-syntax-validation = { url = "https://github.com/NixOS/nixpkgs/pull/474858.diff"; flake = false; }; gep-dotfiles = { url = "git+https://git.tchfoo.com/gepbird/dotfiles"; inputs.nixpkgs.follows = "nixpkgs"; inputs.sops-nix.follows = "null"; inputs.home-manager.follows = "null"; inputs.systems.follows = "systems"; inputs.flake-parts.follows = "flake-parts"; inputs.dwm-gep.follows = "null"; inputs.nur.follows = "null"; inputs.treefmt-nix.follows = "null"; inputs.nixpkgs-patcher.follows = "null"; inputs.nixpkgs-patch-hytale-launcher.follows = "null"; inputs.nix-index-database.follows = "nix-index-database"; }; ymstnt-dotfiles = { url = "git+https://git.tchfoo.com/ymstnt/dotfiles"; inputs.nixpkgs.follows = "nixpkgs"; inputs.sops-nix.follows = "null"; inputs.home-manager.follows = "null"; inputs.nixpkgs-master.follows = "null"; inputs.nixpkgs-develop.follows = "null"; inputs.nixpkgs-stable.follows = "null"; inputs.nur.follows = "null"; inputs.nixpkgs-patcher.follows = "null"; inputs.nixpkgs-patch-hytale-launcher.follows = "null"; inputs.nix-index-database.follows = "nix-index-database"; }; treefmt-nix = { url = "github:numtide/treefmt-nix"; inputs.nixpkgs.follows = "null"; }; # see https://github.com/NixOS/nix/issues/7807 null.url = "github:input-output-hk/empty-flake"; # dependencies of the above modules systems.url = "github:nix-systems/default"; flake-parts = { url = "github:hercules-ci/flake-parts"; inputs.nixpkgs-lib.follows = "nixpkgs"; }; nix-index-database = { url = "github:nix-community/nix-index-database"; inputs.nixpkgs.follows = "null"; }; };
outputs = inputs: with inputs; { nixosConfigurations.raspi-doboz = nixpkgs-patcher.lib.nixosSystem { modules = [ ./hosts/raspi-doboz/configuration.nix ]; specialArgs = inputs; nixpkgsPatcher.enableTroubleshootingShell = false; }; nixosConfigurations.raspi5-doboz = nixpkgs-patcher.lib.nixosSystem { modules = [ ./hosts/raspi5-doboz/configuration.nix ]; specialArgs = inputs; nixpkgsPatcher.enableTroubleshootingShell = false; }; ci = { inherit (self.nixosConfigurations.raspi-doboz.pkgs) bottom comma lix nh nil nvim-gep pocket-id ; }; formatter.aarch64-linux = (treefmt-nix.lib.evalModule self.nixosConfigurations.raspi5-doboz.pkgs { programs.nixfmt.enable = true; }).config.build.wrapper; };
nixConfig = { extra-substituters = [ "https://nix-community.cachix.org" "https://nixos-raspberrypi.cachix.org" ]; extra-trusted-public-keys = [ "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" "nixos-raspberrypi.cachix.org-1:4iMO9LXa8BqhU+Rpg6LQKiGa2lsNh/j2oiYLNOQ5sPI=" ]; };}