75 lines
1.6 KiB
Nix
75 lines
1.6 KiB
Nix
{
|
|
outputs = inputs:
|
|
inputs.flake-parts.lib.mkFlake {inherit inputs;} {
|
|
systems = ["x86_64-linux"];
|
|
imports = [
|
|
./home/profiles
|
|
./hosts
|
|
./modules
|
|
];
|
|
flake = {
|
|
};
|
|
perSystem = {
|
|
config,
|
|
pkgs,
|
|
...
|
|
}: rec {
|
|
devShells.default = pkgs.mkShell {
|
|
packages = with pkgs; [
|
|
alejandra
|
|
nil
|
|
git
|
|
just
|
|
home-manager
|
|
sops
|
|
];
|
|
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";
|
|
#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";
|
|
};
|
|
|
|
firefox-addons = {
|
|
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
nix-gaming = {
|
|
url = "github:fufexan/nix-gaming";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
sops-nix.url = "github:Mic92/sops-nix";
|
|
|
|
nix-index-database = {
|
|
url = "github:Mic92/nix-index-database";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
nix-vscode-extensions = {
|
|
url = "github:nix-community/nix-vscode-extensions";
|
|
};
|
|
|
|
#nur.url = "github:nix-community/NUR";
|
|
};
|
|
}
|