From fe5654ceec82a3f1600670c5bef6f42c6a334bc1 Mon Sep 17 00:00:00 2001 From: Rachel Lambda Samuelsson Date: Wed, 10 Jul 2024 19:10:18 +0200 Subject: [PATCH] lix --- flake.lock | 86 +++++++++++++++++++++++++++++++++++++++++++++++++++++- flake.nix | 9 ++++-- 2 files changed, 92 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index 392efd4..5f94a36 100644 --- a/flake.lock +++ b/flake.lock @@ -112,6 +112,24 @@ } }, "flake-utils_4": { + "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" + } + }, + "flake-utils_5": { "locked": { "lastModified": 1678901627, "narHash": "sha256-U02riOqrKKzwjsxc/400XnElV+UtPUQWpANPlyazjH0=", @@ -126,6 +144,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" + } + }, "home-manager": { "inputs": { "nixpkgs": [ @@ -147,6 +180,41 @@ "type": "github" } }, + "lix": { + "flake": false, + "locked": { + "lastModified": 1718419213, + "narHash": "sha256-WY7BGnu5PnbK4O8cKKv9kvxwzZIGbIQUQLGPHFXitI0=", + "rev": "253546d5fbf8a5aa60ac8164c1b4f5794dc4e9d1", + "type": "tarball", + "url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/253546d5fbf8a5aa60ac8164c1b4f5794dc4e9d1.tar.gz" + }, + "original": { + "type": "tarball", + "url": "https://git.lix.systems/lix-project/lix/archive/2.90.0-rc1.tar.gz" + } + }, + "lix-module": { + "inputs": { + "flake-utils": "flake-utils_4", + "flakey-profile": "flakey-profile", + "lix": "lix", + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1718778548, + "narHash": "sha256-64lB/NO6AQ6z6EDCemPSYZWX/Qc6Rt04cPia5T5v01g=", + "rev": "29ed1bb67751e5b107d08df35d18dda6d45324e9", + "type": "tarball", + "url": "https://git.lix.systems/api/v1/repos/lix-project/nixos-module/archive/29ed1bb67751e5b107d08df35d18dda6d45324e9.tar.gz" + }, + "original": { + "type": "tarball", + "url": "https://git.lix.systems/lix-project/nixos-module/archive/2.90.0-rc1.tar.gz" + } + }, "nixpkgs": { "locked": { "lastModified": 1719145550, @@ -181,7 +249,7 @@ }, "nixprof": { "inputs": { - "flake-utils": "flake-utils_4", + "flake-utils": "flake-utils_5", "nixpkgs": [ "nixpkgs-unstable" ] @@ -230,6 +298,7 @@ "cornelis": "cornelis", "flake-utils": "flake-utils_3", "home-manager": "home-manager", + "lix-module": "lix-module", "nixpkgs": "nixpkgs", "nixpkgs-unstable": "nixpkgs-unstable", "nixprof": "nixprof", @@ -303,6 +372,21 @@ "repo": "default", "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" + } } }, "root": "root", diff --git a/flake.nix b/flake.nix index 479cd22..e3b89b8 100644 --- a/flake.nix +++ b/flake.nix @@ -1,6 +1,6 @@ { - description = "My various NixOs configurations"; + description = "My various NixOS configurations"; inputs = { nixpkgs.url = "github:NixOs/nixpkgs/nixos-24.05"; @@ -26,6 +26,10 @@ url = "github:Kha/nixprof"; inputs.nixpkgs.follows = "nixpkgs-unstable"; }; + lix-module = { + url = "https://git.lix.systems/lix-project/nixos-module/archive/2.90.0-rc1.tar.gz"; + inputs.nixpkgs.follows = "nixpkgs"; + }; plasma-manager = { url = "github:nix-community/plasma-manager/trunk"; inputs.nixpkgs.follows = "nixpkgs"; @@ -33,7 +37,7 @@ }; }; - outputs = { self, nixpkgs, nixpkgs-unstable, home-manager, agda, cornelis, ssbm-nix, plasma-manager, flake-utils, nixprof }: + outputs = { self, nixpkgs, nixpkgs-unstable, home-manager, agda, cornelis, ssbm-nix, plasma-manager, flake-utils, nixprof, lix-module }: let nix-config-module = { nix.registry.nixpkgs.flake = nixpkgs; @@ -75,6 +79,7 @@ }; }; base-modules = [ + lix-module.nixosModules.default nix-config-module ssbm-nix.nixosModule home-manager.nixosModules.home-manager