91 lines
2 KiB
Nix
91 lines
2 KiB
Nix
{
|
|
outputs = inputs:
|
|
inputs.flake-parts.lib.mkFlake {
|
|
inherit inputs;
|
|
} {
|
|
systems = ["x86_64-linux"];
|
|
imports = [
|
|
./home/profiles
|
|
./hosts
|
|
./modules
|
|
];
|
|
flake = {
|
|
};
|
|
perSystem = {
|
|
pkgs,
|
|
system,
|
|
...
|
|
}: {
|
|
devShells.default = pkgs.mkShell {
|
|
packages = with pkgs; [
|
|
alejandra
|
|
nil
|
|
git
|
|
just
|
|
home-manager
|
|
sops
|
|
colmena
|
|
];
|
|
name = "dots";
|
|
};
|
|
|
|
packages = import ./pkgs {
|
|
inherit pkgs;
|
|
};
|
|
|
|
formatter = pkgs.alejandra;
|
|
};
|
|
};
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
|
|
|
hardware.url = "github:nixos/nixos-hardware";
|
|
#hardware.url = "github:xunuwu/nixos-hardware/gigabyte-b550-flake";
|
|
#impermanence.url = "github:nix-community/impermanence";
|
|
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
neovim-config = {
|
|
url = "github:xunuwu/neovim-config";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
small-nvim = {
|
|
url = "github:xunuwu/small-nvim";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
firefox-addons = {
|
|
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
sops-nix.url = "github:Mic92/sops-nix";
|
|
|
|
agenix = {
|
|
url = "github:ryantm/agenix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
nix-index-database = {
|
|
url = "github:Mic92/nix-index-database";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
nix-vscode-extensions = {
|
|
url = "github:nix-community/nix-vscode-extensions";
|
|
};
|
|
|
|
arion = {
|
|
url = "github:hercules-ci/arion";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
nur.url = "github:nix-community/NUR";
|
|
};
|
|
}
|