66 lines
1.4 KiB
Nix
66 lines
1.4 KiB
Nix
{
|
|
description = "nezia's nixos configuration";
|
|
|
|
outputs = inputs:
|
|
inputs.flake-parts.lib.mkFlake {inherit inputs;} {
|
|
systems = ["x86-64_linux"];
|
|
|
|
imports = [
|
|
./hosts
|
|
./modules
|
|
];
|
|
|
|
perSystem = {pkgs, ...}: {
|
|
devShells.default = pkgs.mkShell {
|
|
packages = [
|
|
pkgs.alejandra
|
|
pkgs.git
|
|
];
|
|
};
|
|
formatter = pkgs.alejandra;
|
|
};
|
|
};
|
|
|
|
inputs = {
|
|
# 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";
|
|
};
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
wezterm = {
|
|
url = "github:wez/wezterm/main?dir=nix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
nvf = {
|
|
url = "github:notashelf/nvf";
|
|
};
|
|
|
|
basix.url = "github:notashelf/basix";
|
|
|
|
plasma-manager = {
|
|
url = "github:nix-community/plasma-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
inputs.home-manager.follows = "home-manager";
|
|
};
|
|
|
|
treefmt-nix.url = "github:numtide/treefmt-nix";
|
|
|
|
nixos-hardware.url = "github:NixOS/nixos-hardware";
|
|
};
|
|
}
|