73 lines
1.6 KiB
Nix
73 lines
1.6 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";
|
|
chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-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";
|
|
};
|
|
|
|
ags.url = "github:Aylur/ags";
|
|
|
|
niri = {
|
|
url = "github:sodiboo/niri-flake";
|
|
};
|
|
|
|
treefmt-nix.url = "github:numtide/treefmt-nix";
|
|
|
|
nixos-hardware.url = "github:NixOS/nixos-hardware";
|
|
};
|
|
}
|