feat(nix-hm): use waybar from git

This commit is contained in:
Price Hiller 2024-02-13 09:29:46 -06:00
parent c642b599e3
commit f5b118af1a
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB
2 changed files with 44 additions and 3 deletions

View File

@ -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",

View File

@ -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