From a7e895808c9e2e0c3bb71b6db929af3e39c949c5 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sat, 14 Sep 2024 19:36:06 +0530 Subject: [PATCH] skipper: use lix --- flake.lock | 86 +++++++++++++++++++++++++++++++++++++++++++++++++++++- flake.nix | 6 ++++ 2 files changed, 91 insertions(+), 1 deletion(-) diff --git a/flake.lock b/flake.lock index 52aaea0..b10ad5b 100644 --- a/flake.lock +++ b/flake.lock @@ -277,6 +277,24 @@ "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", "type": "github" }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "flake-utils_5": { + "inputs": { + "systems": "systems_6" + }, + "locked": { + "lastModified": 1710146030, + "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", + "type": "github" + }, "original": { "owner": "numtide", "ref": "main", @@ -284,6 +302,21 @@ "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_4", @@ -438,6 +471,41 @@ "type": "github" } }, + "lix": { + "flake": false, + "locked": { + "lastModified": 1723503926, + "narHash": "sha256-Rosl9iA9MybF5Bud4BTAQ9adbY81aGmPfV8dDBGl34s=", + "rev": "bcaeb6388b8916ac6d1736e3aa2b13313e6a6bd2", + "type": "tarball", + "url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/bcaeb6388b8916ac6d1736e3aa2b13313e6a6bd2.tar.gz?rev=bcaeb6388b8916ac6d1736e3aa2b13313e6a6bd2" + }, + "original": { + "type": "tarball", + "url": "https://git.lix.systems/lix-project/lix/archive/2.91.0.tar.gz" + } + }, + "lix-module": { + "inputs": { + "flake-utils": "flake-utils_4", + "flakey-profile": "flakey-profile", + "lix": "lix", + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1723510904, + "narHash": "sha256-zNW/rqNJwhq2lYmQf19wJerRuNimjhxHKmzrWWFJYts=", + "rev": "622a2253a071a1fb97a4d3c8103a91114acc1140", + "type": "tarball", + "url": "https://git.lix.systems/api/v1/repos/lix-project/nixos-module/archive/622a2253a071a1fb97a4d3c8103a91114acc1140.tar.gz" + }, + "original": { + "type": "tarball", + "url": "https://git.lix.systems/lix-project/nixos-module/archive/2.91.0.tar.gz" + } + }, "neovim-nightly": { "inputs": { "flake-compat": "flake-compat_3", @@ -674,6 +742,7 @@ "home-manager": "home-manager", "impermanence": "impermanence", "lanzaboote": "lanzaboote", + "lix-module": "lix-module", "neovim-nightly": "neovim-nightly", "nixpkgs": "nixpkgs_6", "sops-nix": "sops-nix", @@ -796,6 +865,21 @@ "type": "github" } }, + "systems_6": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, "utils": { "inputs": { "systems": "systems_3" @@ -816,7 +900,7 @@ }, "wiki": { "inputs": { - "flake-utils": "flake-utils_4", + "flake-utils": "flake-utils_5", "nixpkgs": "nixpkgs_8" }, "locked": { diff --git a/flake.nix b/flake.nix index d127c11..bdd5526 100644 --- a/flake.nix +++ b/flake.nix @@ -14,6 +14,10 @@ inputs = { nixpkgs.url = "github:NixOS/nixpkgs?ref=nixos-unstable"; + lix-module = { + url = "https://git.lix.systems/lix-project/nixos-module/archive/2.91.0.tar.gz"; + inputs.nixpkgs.follows = "nixpkgs"; + }; home-manager = { url = "github:nix-community/home-manager?ref=master"; inputs.nixpkgs.follows = "nixpkgs"; @@ -32,6 +36,7 @@ outputs = { self , nixpkgs + , lix-module , home-manager , impermanence , lanzaboote @@ -73,6 +78,7 @@ networking.hostName = lib.mkDefault hostname; nixpkgs.hostPlatform = lib.mkDefault system; } + lix-module.nixosModules.default sops-nix.nixosModules.sops lanzaboote.nixosModules.lanzaboote impermanence.nixosModules.impermanence