Anthony Rodriguez
61537d4722
commitb761f7218b
Author: Anthony Rodriguez <anthony@nezia.dev> Date: Wed Oct 23 18:03:43 2024 +0200 system/services/searx: setup default search settings commitc58816d17a
Author: Anthony Rodriguez <anthony@nezia.dev> Date: Wed Oct 23 17:38:06 2024 +0200 browsers/firefox: switch to my own searx commit006daa6ebc
Author: Anthony Rodriguez <anthony@nezia.dev> Date: Wed Oct 23 17:35:17 2024 +0200 system/services/forgejo: enable on ipv4 commit6c75a3644f
Author: Anthony Rodriguez <anthony@nezia.dev> Date: Wed Oct 23 17:35:05 2024 +0200 system/services: add searx commitd472424a4e
Author: Anthony Rodriguez <anthony@nezia.dev> Date: Wed Oct 23 13:22:36 2024 +0200 system/services: add forgejo commit43e754db72
Author: Anthony Rodriguez <anthony@nezia.dev> Date: Wed Oct 23 11:25:01 2024 +0200 hosts/anastacia: init with generated configuration
66 lines
2 KiB
Nix
66 lines
2 KiB
Nix
{
|
|
description = "nezia's nixos configuration";
|
|
|
|
outputs = {
|
|
self,
|
|
nixpkgs,
|
|
systems,
|
|
treefmt-nix,
|
|
...
|
|
} @ inputs: let
|
|
eachSystem = f: nixpkgs.lib.genAttrs (import systems) (system: f nixpkgs.legacyPackages.${system});
|
|
treefmtEval = eachSystem (pkgs: treefmt-nix.lib.evalModule pkgs ./treefmt.nix);
|
|
in {
|
|
devShells = eachSystem (pkgs: {
|
|
default = pkgs.mkShell {
|
|
packages = [
|
|
pkgs.alejandra
|
|
pkgs.git
|
|
];
|
|
};
|
|
});
|
|
formatter = eachSystem (pkgs: treefmtEval.${pkgs.system}.config.build.wrapper);
|
|
nixosModules = import ./modules;
|
|
nixosConfigurations = import ./hosts {inherit self inputs;};
|
|
deploy.nodes = import ./nodes {inherit self inputs;};
|
|
};
|
|
inputs = {
|
|
# nix related
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
systems.url = "github:nix-systems/default-linux";
|
|
nixos-hardware.url = "github:NixOS/nixos-hardware";
|
|
lanzaboote = {
|
|
url = "github:nix-community/lanzaboote/v0.4.1";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
nix-index-db = {
|
|
url = "github:nix-community/nix-index-database";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
# other
|
|
ags.url = "github:Aylur/ags";
|
|
basix.url = "github:notashelf/basix";
|
|
deploy-rs.url = "github:serokell/deploy-rs";
|
|
firefox-addons = {
|
|
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
niri = {url = "github:sodiboo/niri-flake";};
|
|
nvf.url = "github:notashelf/nvf";
|
|
plasma-manager = {
|
|
url = "github:nix-community/plasma-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
inputs.home-manager.follows = "home-manager";
|
|
};
|
|
treefmt-nix.url = "github:numtide/treefmt-nix";
|
|
wezterm = {
|
|
url = "github:wez/wezterm/main?dir=nix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
}
|