2024-08-25 19:58:12 +00:00
|
|
|
{
|
|
|
|
description = "nezia's nixos configuration";
|
|
|
|
|
2024-09-29 21:48:55 +00:00
|
|
|
outputs = inputs:
|
|
|
|
inputs.flake-parts.lib.mkFlake {inherit inputs;} {
|
|
|
|
systems = ["x86-64_linux"];
|
2024-08-25 20:58:58 +00:00
|
|
|
|
2024-09-29 21:48:55 +00:00
|
|
|
imports = [
|
|
|
|
./hosts
|
2024-09-29 23:19:48 +00:00
|
|
|
./modules
|
2024-09-29 21:48:55 +00:00
|
|
|
];
|
2024-08-27 11:22:17 +00:00
|
|
|
|
2024-09-29 23:19:48 +00:00
|
|
|
perSystem = {pkgs, ...}: {
|
2024-09-29 21:48:55 +00:00
|
|
|
devShells.default = pkgs.mkShell {
|
|
|
|
packages = [
|
|
|
|
pkgs.alejandra
|
|
|
|
pkgs.git
|
|
|
|
];
|
2024-09-24 13:09:24 +00:00
|
|
|
};
|
2024-09-29 21:48:55 +00:00
|
|
|
formatter = pkgs.alejandra;
|
2024-08-25 19:58:12 +00:00
|
|
|
};
|
|
|
|
};
|
2024-09-24 13:09:24 +00:00
|
|
|
|
|
|
|
inputs = {
|
2024-09-29 21:48:55 +00:00
|
|
|
# global, so they can be `.follow`ed
|
|
|
|
systems.url = "github:nix-systems/default-linux";
|
|
|
|
|
|
|
|
flake-utils = {
|
|
|
|
url = "github:numtide/flake-utils";
|
|
|
|
inputs.systems.follows = "systems";
|
|
|
|
};
|
|
|
|
|
|
|
|
flake-parts = {
|
|
|
|
url = "github:hercules-ci/flake-parts";
|
|
|
|
inputs.nixpkgs-lib.follows = "nixpkgs";
|
2024-09-24 13:09:24 +00:00
|
|
|
};
|
2024-09-29 21:48:55 +00:00
|
|
|
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
|
2024-09-24 13:09:24 +00:00
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-09-29 21:48:55 +00:00
|
|
|
|
2024-09-24 13:09:24 +00:00
|
|
|
wezterm = {
|
|
|
|
url = "github:wez/wezterm/main?dir=nix";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-09-29 21:48:55 +00:00
|
|
|
|
2024-09-24 13:09:24 +00:00
|
|
|
zen-browser.url = "github:MarceColl/zen-browser-flake";
|
|
|
|
nvf = {
|
|
|
|
url = "github:notashelf/nvf";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-09-29 21:48:55 +00:00
|
|
|
|
2024-09-26 11:41:04 +00:00
|
|
|
treefmt-nix.url = "github:numtide/treefmt-nix";
|
2024-09-29 21:48:55 +00:00
|
|
|
|
2024-09-24 13:09:24 +00:00
|
|
|
nixos-hardware.url = "github:NixOS/nixos-hardware";
|
|
|
|
};
|
2024-08-25 19:58:12 +00:00
|
|
|
}
|