From caf4fab8f408321b3b2cef02e7e122e3f7ea86ed Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Wed, 13 Nov 2024 23:19:57 +0100 Subject: [PATCH] treewide: add ironbar for niri --- flake.lock | 166 +++++++++++++++++++---------------------------------- flake.nix | 1 + 2 files changed, 60 insertions(+), 107 deletions(-) diff --git a/flake.lock b/flake.lock index b4c2e33..cca929a 100644 --- a/flake.lock +++ b/flake.lock @@ -4,9 +4,7 @@ "inputs": { "darwin": "darwin", "home-manager": "home-manager", - "nixpkgs": [ - "nixpkgs" - ], + "nixpkgs": ["nixpkgs"], "systems": "systems" }, "locked": { @@ -44,10 +42,7 @@ }, "astal": { "inputs": { - "nixpkgs": [ - "ags", - "nixpkgs" - ] + "nixpkgs": ["ags", "nixpkgs"] }, "locked": { "lastModified": 1731533099, @@ -100,10 +95,7 @@ }, "crane_2": { "inputs": { - "nixpkgs": [ - "lanzaboote", - "nixpkgs" - ] + "nixpkgs": ["lanzaboote", "nixpkgs"] }, "locked": { "lastModified": 1717535930, @@ -121,10 +113,7 @@ }, "darwin": { "inputs": { - "nixpkgs": [ - "agenix", - "nixpkgs" - ] + "nixpkgs": ["agenix", "nixpkgs"] }, "locked": { "lastModified": 1700795494, @@ -164,9 +153,7 @@ "firefox-addons": { "inputs": { "flake-utils": "flake-utils", - "nixpkgs": [ - "nixpkgs" - ] + "nixpkgs": ["nixpkgs"] }, "locked": { "dir": "pkgs/firefox-addons", @@ -252,10 +239,7 @@ }, "flake-parts_2": { "inputs": { - "nixpkgs-lib": [ - "lanzaboote", - "nixpkgs" - ] + "nixpkgs-lib": ["lanzaboote", "nixpkgs"] }, "locked": { "lastModified": 1717285511, @@ -377,11 +361,7 @@ }, "gitignore": { "inputs": { - "nixpkgs": [ - "lanzaboote", - "pre-commit-hooks-nix", - "nixpkgs" - ] + "nixpkgs": ["lanzaboote", "pre-commit-hooks-nix", "nixpkgs"] }, "locked": { "lastModified": 1709087332, @@ -416,10 +396,7 @@ }, "home-manager": { "inputs": { - "nixpkgs": [ - "agenix", - "nixpkgs" - ] + "nixpkgs": ["agenix", "nixpkgs"] }, "locked": { "lastModified": 1703113217, @@ -437,9 +414,7 @@ }, "home-manager_2": { "inputs": { - "nixpkgs": [ - "nixpkgs" - ] + "nixpkgs": ["nixpkgs"] }, "locked": { "lastModified": 1731786860, @@ -459,9 +434,7 @@ "inputs": { "crane": "crane", "naersk": "naersk", - "nixpkgs": [ - "nixpkgs" - ], + "nixpkgs": ["nixpkgs"], "rust-overlay": "rust-overlay" }, "locked": { @@ -484,9 +457,7 @@ "flake-compat": "flake-compat_3", "flake-parts": "flake-parts_2", "flake-utils": "flake-utils_2", - "nixpkgs": [ - "nixpkgs" - ], + "nixpkgs": ["nixpkgs"], "pre-commit-hooks-nix": "pre-commit-hooks-nix", "rust-overlay": "rust-overlay_2" }, @@ -557,12 +528,7 @@ }, "naersk_2": { "inputs": { - "nixpkgs": [ - "neovim-flake", - "nvf", - "rnix-lsp", - "nixpkgs" - ] + "nixpkgs": ["neovim-flake", "nvf", "rnix-lsp", "nixpkgs"] }, "locked": { "lastModified": 1655042882, @@ -580,9 +546,7 @@ }, "neovim-flake": { "inputs": { - "nixpkgs": [ - "nixpkgs" - ], + "nixpkgs": ["nixpkgs"], "nvf": "nvf" }, "locked": { @@ -601,16 +565,8 @@ }, "nil": { "inputs": { - "flake-utils": [ - "neovim-flake", - "nvf", - "flake-utils" - ], - "nixpkgs": [ - "neovim-flake", - "nvf", - "nixpkgs" - ], + "flake-utils": ["neovim-flake", "nvf", "flake-utils"], + "nixpkgs": ["neovim-flake", "nvf", "nixpkgs"], "rust-overlay": "rust-overlay_3" }, "locked": { @@ -685,9 +641,7 @@ }, "nix-index-db": { "inputs": { - "nixpkgs": [ - "nixpkgs" - ] + "nixpkgs": ["nixpkgs"] }, "locked": { "lastModified": 1731593150, @@ -853,6 +807,38 @@ } }, "nixpkgs_5": { + "locked": { + "lastModified": 1731676054, + "narHash": "sha256-OZiZ3m8SCMfh3B6bfGC/Bm4x3qc1m2SVEAlkV6iY7Yg=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "5e4fbfb6b3de1aa2872b76d49fafc942626e2add", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_6": { + "locked": { + "lastModified": 1731319897, + "narHash": "sha256-PbABj4tnbWFMfBp6OcUK5iGy1QY+/Z96ZcLpooIbuEI=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "dc460ec76cbff0e66e269457d7b728432263166c", + "type": "github" + }, + "original": { + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "dc460ec76cbff0e66e269457d7b728432263166c", + "type": "github" + } + }, + "nixpkgs_7": { "locked": { "lastModified": 1726871744, "narHash": "sha256-V5LpfdHyQkUF7RfOaDPrZDP+oqz88lTJrMT1+stXNwo=", @@ -1077,12 +1063,8 @@ }, "plasma-manager": { "inputs": { - "home-manager": [ - "home-manager" - ], - "nixpkgs": [ - "nixpkgs" - ] + "home-manager": ["home-manager"], + "nixpkgs": ["nixpkgs"] }, "locked": { "lastModified": 1731193165, @@ -2752,15 +2734,9 @@ }, "pre-commit-hooks-nix": { "inputs": { - "flake-compat": [ - "lanzaboote", - "flake-compat" - ], + "flake-compat": ["lanzaboote", "flake-compat"], "gitignore": "gitignore", - "nixpkgs": [ - "lanzaboote", - "nixpkgs" - ], + "nixpkgs": ["lanzaboote", "nixpkgs"], "nixpkgs-stable": "nixpkgs-stable" }, "locked": { @@ -2821,10 +2797,7 @@ }, "rust-overlay": { "inputs": { - "nixpkgs": [ - "ironbar", - "nixpkgs" - ] + "nixpkgs": ["ironbar", "nixpkgs"] }, "locked": { "lastModified": 1730341826, @@ -2842,14 +2815,8 @@ }, "rust-overlay_2": { "inputs": { - "flake-utils": [ - "lanzaboote", - "flake-utils" - ], - "nixpkgs": [ - "lanzaboote", - "nixpkgs" - ] + "flake-utils": ["lanzaboote", "flake-utils"], + "nixpkgs": ["lanzaboote", "nixpkgs"] }, "locked": { "lastModified": 1717813066, @@ -2867,18 +2834,8 @@ }, "rust-overlay_3": { "inputs": { - "flake-utils": [ - "neovim-flake", - "nvf", - "nil", - "flake-utils" - ], - "nixpkgs": [ - "neovim-flake", - "nvf", - "nil", - "nixpkgs" - ] + "flake-utils": ["neovim-flake", "nvf", "nil", "flake-utils"], + "nixpkgs": ["neovim-flake", "nvf", "nil", "nixpkgs"] }, "locked": { "lastModified": 1714529851, @@ -2896,10 +2853,7 @@ }, "rust-overlay_4": { "inputs": { - "nixpkgs": [ - "wezterm", - "nixpkgs" - ] + "nixpkgs": ["wezterm", "nixpkgs"] }, "locked": { "lastModified": 1729477859, @@ -3093,9 +3047,7 @@ "freetype2": "freetype2", "harfbuzz": "harfbuzz", "libpng": "libpng", - "nixpkgs": [ - "nixpkgs" - ], + "nixpkgs": ["nixpkgs"], "rust-overlay": "rust-overlay_4", "zlib": "zlib" }, diff --git a/flake.nix b/flake.nix index 6ee7a15..2af3ead 100644 --- a/flake.nix +++ b/flake.nix @@ -13,6 +13,7 @@ eachSystem = f: nixpkgs.lib.genAttrs (import systems) (system: f nixpkgs.legacyPackages.${system}); treefmtEval = eachSystem (pkgs: treefmt-nix.lib.evalModule pkgs ./treefmt.nix); in { + imports = [./modules]; devShells = eachSystem (pkgs: { default = pkgs.mkShell { packages = [