Migrate to lix

This commit is contained in:
xqtc161 2024-07-02 12:28:22 +02:00
parent fc2263390a
commit 32e301cb7f

View file

@ -11,6 +11,10 @@
}; };
spicetify-nix.url = "github:the-argus/spicetify-nix"; spicetify-nix.url = "github:the-argus/spicetify-nix";
nh.url = "github:/viperML/nh"; 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.agenix.url = "github:ryantm/agenix";
inputs.firefox-addons.url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons"; inputs.firefox-addons.url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
@ -32,6 +36,7 @@
nixos-hardware, nixos-hardware,
nixvim, nixvim,
nh, nh,
lix-module,
... ...
}: let }: let
lib = nixpkgs.lib; lib = nixpkgs.lib;
@ -51,22 +56,22 @@
# }); # });
"asmodeus" = lib.nixosSystem { "asmodeus" = lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = [./hosts/x86_64-linux/asmodeus]; modules = [./hosts/x86_64-linux/asmodeus lix-module.nixosModules.default ];
specialArgs = {inherit inputs;}; specialArgs = {inherit inputs;};
}; };
"seraphim" = lib.nixosSystem { "seraphim" = lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = [./hosts/x86_64-linux/seraphim]; modules = [./hosts/x86_64-linux/seraphim lix-module.nixosModules.default ];
specialArgs = {inherit inputs;}; specialArgs = {inherit inputs;};
}; };
"lilith" = lib.nixosSystem { "lilith" = lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = [./hosts/x86_64-linux/lilith]; modules = [./hosts/x86_64-linux/lilith lix-module.nixosModules.default ];
specialArgs = {inherit inputs;}; specialArgs = {inherit inputs;};
}; };
"lambda" = lib.nixosSystem { "lambda" = lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = [./hosts/x86_64-linux/lambda]; modules = [./hosts/x86_64-linux/lambda lix-module.nixosModules.default ];
specialArgs = {inherit inputs;}; specialArgs = {inherit inputs;};
}; };
"beleth" = lib.nixosSystem { "beleth" = lib.nixosSystem {
@ -76,7 +81,7 @@
}; };
"alastor" = lib.nixosSystem { "alastor" = lib.nixosSystem {
system = "aarch64-linux"; 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;}; specialArgs = {inherit inputs;};
}; };
}; };