74 lines
1.6 KiB
Nix
74 lines
1.6 KiB
Nix
{
|
|
description = "matej's nix setup";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
|
|
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
|
nixpkgs-master.url = "github:nixos/nixpkgs/master";
|
|
|
|
nvim = {
|
|
url = "git+https://git.janezic.dev/janezicmatej/nvim.git";
|
|
flake = false;
|
|
};
|
|
|
|
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
|
|
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
|
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager/release-25.11";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
stylix = {
|
|
url = "github:danth/stylix/release-25.11";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
lanzaboote = {
|
|
url = "github:nix-community/lanzaboote/v1.0.0";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
assets = {
|
|
url = "git+https://git.janezic.dev/janezicmatej/assets.git";
|
|
flake = false;
|
|
};
|
|
|
|
neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay";
|
|
|
|
};
|
|
|
|
outputs =
|
|
inputs@{
|
|
flake-parts,
|
|
nixpkgs,
|
|
self,
|
|
...
|
|
}:
|
|
flake-parts.lib.mkFlake { inherit inputs; } {
|
|
imports = [
|
|
./flake/overlays.nix
|
|
./flake/packages.nix
|
|
./flake/devshell.nix
|
|
./flake/hosts.nix
|
|
];
|
|
|
|
systems = [ "x86_64-linux" ];
|
|
|
|
perSystem =
|
|
{ system, ... }:
|
|
{
|
|
_module.args.pkgs = import nixpkgs {
|
|
inherit system;
|
|
overlays = [ self.overlays.default ];
|
|
config.allowUnfree = true;
|
|
};
|
|
};
|
|
|
|
flake = {
|
|
lib = import ./lib { inherit (nixpkgs) lib; };
|
|
};
|
|
};
|
|
}
|