Switch to lix
Some checks failed
Cachix / build (elendel) (push) Failing after 6m5s
Cachix / build (kholinar) (push) Failing after 6m31s
Cachix / build (marabethia) (push) Failing after 6m3s

This commit is contained in:
Charlotte Van Petegem 2025-03-06 13:59:04 +01:00
parent 0c4a12cf5d
commit d53b354f43
Signed by: chvp
SSH key fingerprint: SHA256:+xxExaZKfphaPBA/f79I53pATM1GM3mRUFmOl/ChUbM
2 changed files with 65 additions and 1 deletions

View file

@ -61,6 +61,13 @@
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
lix-module = {
url = "git+https://git.lix.systems/lix-project/nixos-module?ref=stable";
inputs = {
flake-utils.follows = "flake-utils";
nixpkgs.follows = "nixpkgs";
};
};
nixos-mailserver = {
url = "gitlab:simple-nixos-mailserver/nixos-mailserver";
inputs.nixpkgs.follows = "nixpkgs";
@ -95,7 +102,7 @@
};
};
outputs = inputs@{ self, nixpkgs, accentor, accentor-api, accentor-web, agenix, darwin, devshell, emacs-overlay, flake-utils, home-manager, nix-index-database, nixos-mailserver, nur, tetris, www-chvp-be, ... }:
outputs = inputs@{ self, nixpkgs, accentor, accentor-api, accentor-web, agenix, darwin, devshell, emacs-overlay, flake-utils, home-manager, lix-module, nix-index-database, nixos-mailserver, nur, tetris, www-chvp-be, ... }:
let
patches = builtins.map (patch: ./patches + "/${patch}") (builtins.filter (x: x != ".keep") (builtins.attrNames (builtins.readDir ./patches)));
# Avoid IFD if there are no patches
@ -122,6 +129,7 @@
www-chvp-be.overlays.default
];
commonModules = [
lix-module.nixosModules.default # Even though it's a "nixosModule" it's actually compatible with Darwin as well
./modules/shared
];
nixosModules = [