From f5b118af1a88325dd597d6f1f0634b81129c0208 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Tue, 13 Feb 2024 09:29:46 -0600 Subject: [PATCH] feat(nix-hm): use waybar from git --- flake.lock | 38 ++++++++++++++++++++++++++++++++++++++ flake.nix | 9 ++++++--- 2 files changed, 44 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index 438401d1..bac7dccc 100644 --- a/flake.lock +++ b/flake.lock @@ -107,6 +107,22 @@ "type": "github" } }, + "flake-compat_2": { + "flake": false, + "locked": { + "lastModified": 1696426674, + "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, "flake-parts": { "inputs": { "nixpkgs-lib": [ @@ -504,6 +520,7 @@ "kanagawa-gtk": "kanagawa-gtk", "neovim-nightly-overlay": "neovim-nightly-overlay", "nixpkgs": "nixpkgs_3", + "waybar": "waybar", "wezterm": "wezterm" } }, @@ -622,6 +639,27 @@ "type": "github" } }, + "waybar": { + "inputs": { + "flake-compat": "flake-compat_2", + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1707827123, + "narHash": "sha256-goHgM2gDzlDcgxXKMQchAjmeuqaoWGPGwl4thC8V3Dg=", + "owner": "Alexays", + "repo": "Waybar", + "rev": "28cd9dff47fa586c2a7910e6c18eefb6a93a0dd0", + "type": "github" + }, + "original": { + "owner": "Alexays", + "repo": "Waybar", + "type": "github" + } + }, "wezterm": { "inputs": { "flake-utils": "flake-utils_6", diff --git a/flake.nix b/flake.nix index 11828593..589e074f 100644 --- a/flake.nix +++ b/flake.nix @@ -19,6 +19,10 @@ url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; }; + waybar = { + url = "github:Alexays/Waybar"; + inputs.nixpkgs.follows = "nixpkgs"; + }; neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay"; emacs-overlay.url = "github:nix-community/emacs-overlay"; wezterm = { @@ -34,9 +38,7 @@ lib = nixpkgs.lib; in { defaultPackage.x86_64-linux = home-manager.defaultPackage.x86_64-linux; - targets.genericLinux = { - enable = true; - }; + targets.genericLinux = { enable = true; }; homeConfigurations.${username} = home-manager.lib.homeManagerConfiguration rec { pkgs = nixpkgs.legacyPackages.${system}; @@ -50,6 +52,7 @@ inputs.deepfilternet.overlays.default inputs.kanagawa-gtk.overlays.default (final: prev: { + waybar = inputs.waybar.packages.${system}.default; lxappearance = prev.lxappearance.overrideAttrs (oldAttrs: { postInstall = '' wrapProgram $out/bin/lxappearance --prefix GDK_BACKEND : x11