chore: use upstream lix

This commit is contained in:
Julien Malka 2024-06-25 10:12:15 +02:00
parent 2fc092f395
commit 46a8a443dc
Signed by: Luj
GPG key ID: 6FC74C847011FD83
2 changed files with 2 additions and 8 deletions

View file

@ -37,18 +37,11 @@ import "${nixpkgs}/nixos/lib/eval-config.nix" {
(import "${inputs.impermanence}/nixos.nix")
(import inputs.lanzaboote).nixosModules.lanzaboote
(import inputs.lila).nixosModules.hash-collection
(import "${inputs.lix-module}/module.nix" { inherit (inputs) lix; })
{
home-manager.useGlobalPkgs = true;
nixpkgs.system = system;
networking.hostName = name;
nixpkgs.overlays = lib.mkAfter [
# TODO: Remove when https://git.lix.systems/lix-project/lix/issues/310 is fixed
(_: prev: {
nix = prev.nix.overrideAttrs (_: {
doCheck = false;
});
})
(overlay-unstable system)
(_final: prev: {
waybar = prev.waybar.overrideAttrs (oldAttrs: {

View file

@ -2,6 +2,7 @@
config,
lib,
inputs,
pkgs,
...
}:
let
@ -16,7 +17,7 @@ with lib;
config = mkIf cfg.enable {
nixpkgs.config.allowUnfree = true;
nix = {
#package = pkgs.unstable.nix;
package = pkgs.unstable.lix;
extraOptions = ''
experimental-features = nix-command flakes
'';