35 lines
969 B
Nix
35 lines
969 B
Nix
{
|
|
description = "plinth system flake";
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
|
|
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
lix = {
|
|
url = "https://git.lix.systems/lix-project/nixos-module/archive/2.91.1-1.tar.gz";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs = { self, nixpkgs, nixpkgs-unstable, lix, ... }@inputs: {
|
|
nixosConfigurations = {
|
|
plinth = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = {
|
|
unstable-pkgs = nixpkgs-unstable.legacyPackages."x86_64-linux";
|
|
inherit inputs;
|
|
};
|
|
|
|
modules = [
|
|
lix.nixosModules.default
|
|
({...}: { system.stateVersion = "23.11"; })
|
|
./system/hardware-configuration.nix
|
|
./system/base.nix
|
|
./system/auto.nix
|
|
./system/software.nix
|
|
./system/nginx.nix
|
|
./system/borg.nix
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|