From 4c589eee7ae67da49c5e314c94beacee10e75169 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Fri, 21 Jun 2024 10:10:14 +0530 Subject: [PATCH] replace Nix with Lix --- flake.lock | 87 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ flake.nix | 8 ++++- 2 files changed, 94 insertions(+), 1 deletion(-) diff --git a/flake.lock b/flake.lock index b92ea51..1591b43 100644 --- a/flake.lock +++ b/flake.lock @@ -168,6 +168,39 @@ "type": "github" } }, + "flake-utils_3": { + "inputs": { + "systems": "systems_3" + }, + "locked": { + "lastModified": 1710146030, + "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "flakey-profile": { + "locked": { + "lastModified": 1712898590, + "narHash": "sha256-FhGIEU93VHAChKEXx905TSiPZKga69bWl1VB37FK//I=", + "owner": "lf-", + "repo": "flakey-profile", + "rev": "243c903fd8eadc0f63d205665a92d4df91d42d9d", + "type": "github" + }, + "original": { + "owner": "lf-", + "repo": "flakey-profile", + "type": "github" + } + }, "git-hooks": { "inputs": { "flake-compat": "flake-compat_3", @@ -323,6 +356,44 @@ "type": "github" } }, + "lix": { + "flake": false, + "locked": { + "lastModified": 1718590005, + "narHash": "sha256-fiWc1ZyMlTXXSjcmoEQ+NHhIgtcImPHszbOu5c515cU=", + "rev": "98d0249d5c7f5dcc1d2436c4829f073fca668f80", + "type": "tarball", + "url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/98d0249d5c7f5dcc1d2436c4829f073fca668f80.tar.gz" + }, + "original": { + "type": "tarball", + "url": "https://git.lix.systems/lix-project/lix/archive/release-2.90.tar.gz" + } + }, + "lix-module": { + "inputs": { + "flake-utils": "flake-utils_3", + "flakey-profile": "flakey-profile", + "lix": "lix", + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1718778660, + "narHash": "sha256-1xP1r7tNTSJYYQr+6wwhkJk3P5REuN8WHARa7Re8T/0=", + "ref": "release-2.90", + "rev": "376ecb80385642329ce274abda2da0bc7b7906c9", + "revCount": 89, + "type": "git", + "url": "https://git.lix.systems/lix-project/nixos-module" + }, + "original": { + "ref": "release-2.90", + "type": "git", + "url": "https://git.lix.systems/lix-project/nixos-module" + } + }, "neovim-nightly": { "inputs": { "flake-compat": "flake-compat_2", @@ -508,6 +579,7 @@ "home-manager": "home-manager", "impermanence": "impermanence", "lanzaboote": "lanzaboote", + "lix-module": "lix-module", "neovim-nightly": "neovim-nightly", "nixpkgs": "nixpkgs_3", "sops-nix": "sops-nix", @@ -589,6 +661,21 @@ "type": "github" } }, + "systems_3": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, "varnam-nix": { "inputs": { "nixpkgs": "nixpkgs_5" diff --git a/flake.nix b/flake.nix index 280d444..e351bd3 100644 --- a/flake.nix +++ b/flake.nix @@ -14,6 +14,10 @@ inputs = { nixpkgs.url = "github:NixOS/nixpkgs?ref=nixos-unstable"; + lix-module = { + url = "git+https://git.lix.systems/lix-project/nixos-module?ref=release-2.90"; + inputs.nixpkgs.follows = "nixpkgs"; + }; home-manager = { url = "github:nix-community/home-manager?ref=master"; inputs.nixpkgs.follows = "nixpkgs"; @@ -29,11 +33,12 @@ outputs = { self , nixpkgs - , flake-utils + , lix-module , home-manager , impermanence , lanzaboote , sops-nix + , flake-utils , neovim-nightly , varnam-nix , @@ -58,6 +63,7 @@ { system.configurationRevision = nixpkgs.lib.mkIf (self ? rev) self.rev; } + lix-module.nixosModules.default home-manager.nixosModules.home-manager impermanence.nixosModules.impermanence lanzaboote.nixosModules.lanzaboote