From 32e301cb7fc0550a049f5707f84de8be0de53f87 Mon Sep 17 00:00:00 2001 From: xqtc161 Date: Tue, 2 Jul 2024 12:28:22 +0200 Subject: [PATCH] Migrate to lix --- flake.nix | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/flake.nix b/flake.nix index 2b0fa02..15cfa17 100644 --- a/flake.nix +++ b/flake.nix @@ -11,6 +11,10 @@ }; spicetify-nix.url = "github:the-argus/spicetify-nix"; nh.url = "github:/viperML/nh"; + lix-module = { + url = "https://git.lix.systems/lix-project/nixos-module/archive/2.90.0-rc1.tar.gz"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; #inputs.agenix.url = "github:ryantm/agenix"; inputs.firefox-addons.url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons"; @@ -32,6 +36,7 @@ nixos-hardware, nixvim, nh, + lix-module, ... }: let lib = nixpkgs.lib; @@ -51,22 +56,22 @@ # }); "asmodeus" = lib.nixosSystem { system = "x86_64-linux"; - modules = [./hosts/x86_64-linux/asmodeus]; + modules = [./hosts/x86_64-linux/asmodeus lix-module.nixosModules.default ]; specialArgs = {inherit inputs;}; }; "seraphim" = lib.nixosSystem { system = "x86_64-linux"; - modules = [./hosts/x86_64-linux/seraphim]; + modules = [./hosts/x86_64-linux/seraphim lix-module.nixosModules.default ]; specialArgs = {inherit inputs;}; }; "lilith" = lib.nixosSystem { system = "x86_64-linux"; - modules = [./hosts/x86_64-linux/lilith]; + modules = [./hosts/x86_64-linux/lilith lix-module.nixosModules.default ]; specialArgs = {inherit inputs;}; }; "lambda" = lib.nixosSystem { system = "x86_64-linux"; - modules = [./hosts/x86_64-linux/lambda]; + modules = [./hosts/x86_64-linux/lambda lix-module.nixosModules.default ]; specialArgs = {inherit inputs;}; }; "beleth" = lib.nixosSystem { @@ -76,7 +81,7 @@ }; "alastor" = lib.nixosSystem { system = "aarch64-linux"; - modules = [./hosts/aarch64-linux/alastor {nixpkgs.overlays = [inputs.nixos-aarch64-widevine.overlays.default];}]; + modules = [./hosts/aarch64-linux/alastor {nixpkgs.overlays = [inputs.nixos-aarch64-widevine.overlays.default];} lix-module.nixosModules.default ]; specialArgs = {inherit inputs;}; }; };