plinth-infra/flake/flake.nix

29 lines
763 B
Nix

{
description = "plinth system flake";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs, nixpkgs-unstable, ... }@inputs: {
nixosConfigurations = {
plinth = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {
unstable-pkgs = nixpkgs-unstable.legacyPackages."x86_64-linux";
};
modules = [
# lix.nixosModules.default
({...}: { system.stateVersion = "23.11"; })
./system/hardware-configuration.nix
./system/base.nix
./system/software.nix
./system/nginx.nix
./system/borg.nix
];
};
};
};
}