This commit is contained in:
nyxerinys 2026-10-16 21:25:19 -05:00
parent ad5107997b
commit b6117d062b
4 changed files with 162 additions and 10 deletions

View file

@ -3,7 +3,11 @@
inputs = {
# Nix main stuff
nixpkgs = { url = "github:nixos/nixpkgs/nixos-26.05"; };
nixpkgs.url = "github:nixos/nixpkgs/nixos-26.05";
nixos-hardware = {
url = "github:NixOS/nixos-hardware";
inputs.nixpkgs.follows = "nixpkgs";
};
nur = {
url = "github:nix-community/NUR";
inputs.nixpkgs.follows = "nixpkgs";
@ -48,6 +52,10 @@
url = "github:zjeffer/split-monitor-workspaces";
flake = false;
};
nixos-raspberrypi = {
url = "github:nvmd/nixos-raspberrypi/main";
inputs.nixpkgs.follows = "nixpkgs";
};
# secrets
sops-nix = {
@ -60,7 +68,7 @@
};
};
outputs = { self, nixpkgs, nix-darwin, home-manager, ... } @ inputs:
outputs = { self, nixpkgs, nix-darwin, nixos-raspberrypi, home-manager, ... } @ inputs:
let
blades = import ./hosts/servers/blades/systems.nix { inherit inputs; };
in
@ -75,10 +83,11 @@
];
specialArgs = { inherit inputs; };
};
iris = nixpkgs.lib.nixosSystem {
iris = nixos-raspberrypi.lib.nixosSystem {
modules = [
./hosts/base.nix
./hosts/servers/iris
nixos-raspberrypi.nixosModules.raspberry-pi-3.base
];
specialArgs = { inherit inputs; };
};