61 lines
1.6 KiB
Nix
61 lines
1.6 KiB
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
|
import-tree.url = "github:vic/import-tree";
|
|
wrapper-modules.url = "github:BirdeeHub/nix-wrapper-modules";
|
|
|
|
home-manager.url = "github:nix-community/home-manager";
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
sops-nix.url = "github:Mic92/sops-nix";
|
|
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
stylix.url = "github:danth/stylix";
|
|
stylix.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
nvf = {
|
|
url = "github:notashelf/nvf";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
niri.url = "github:sodiboo/niri-flake";
|
|
niri.inputs.nixpkgs.follows = "nixpkgs";
|
|
noctalia = {
|
|
url = "github:noctalia-dev/noctalia-shell";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
nix-index-database = {
|
|
url = "github:nix-community/nix-index-database";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
zjstatus = {
|
|
url = "github:dj95/zjstatus";
|
|
};
|
|
secrets.url = "git+ssh://git@github.com/gwg313/nixos-secrets.git";
|
|
};
|
|
|
|
outputs =
|
|
inputs:
|
|
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
|
|
systems = [
|
|
"x86_64-linux"
|
|
"aarch64-linux"
|
|
"x86_64-darwin"
|
|
"aarch64-darwin"
|
|
];
|
|
perSystem =
|
|
{ pkgs, ... }:
|
|
{
|
|
formatter = pkgs.nixfmt;
|
|
};
|
|
imports = [
|
|
(inputs.import-tree ./modules/top)
|
|
(inputs.import-tree ./modules/hosts)
|
|
(inputs.import-tree ./modules/users)
|
|
(inputs.import-tree ./modules/aspects)
|
|
(inputs.import-tree ./modules/features)
|
|
];
|
|
};
|
|
}
|