mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-25 21:30:52 +01:00
chore: use upstream lix
This commit is contained in:
parent
2fc092f395
commit
46a8a443dc
2 changed files with 2 additions and 8 deletions
|
@ -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: {
|
||||
|
|
|
@ -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
|
||||
'';
|
||||
|
|
Loading…
Add table
Reference in a new issue