first commit
This commit is contained in:
23
glasshouse-desktop/dotfiles/packages/waybar/flake.nix
Normal file
23
glasshouse-desktop/dotfiles/packages/waybar/flake.nix
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
description = "Waybar flake with custom configuration";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
waybar = {
|
||||
url = "github:Alexays/Waybar";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, ... }@inputs:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in {
|
||||
packages.${system} = {
|
||||
default = pkgs.waybar.overrideAttrs (oldAttrs: {
|
||||
configFile = ./config/config;
|
||||
});
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user