Waybar git to solve issue w/hyprland

This commit is contained in:
Hadi 2024-05-02 18:16:39 +02:00
parent 6d1912703c
commit 1af3617b32
4 changed files with 58 additions and 4 deletions

View File

@ -76,6 +76,22 @@
"type": "github"
}
},
"flake-compat_3": {
"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": [
@ -478,6 +494,22 @@
"type": "github"
}
},
"nixpkgs_5": {
"locked": {
"lastModified": 1711163522,
"narHash": "sha256-YN/Ciidm+A0fmJPWlHBGvVkcarYWSC+s3NTPk/P+q3c=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "44d0940ea560dee511026a53f0e2e2cde489b4d4",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixvim": {
"inputs": {
"devshell": "devshell",
@ -553,7 +585,8 @@
"nixpkgs": "nixpkgs_3",
"nixvim": "nixvim",
"sops-nix": "sops-nix",
"spicetify-nix": "spicetify-nix"
"spicetify-nix": "spicetify-nix",
"waybar": "waybar"
}
},
"sf-arabic": {
@ -719,6 +752,25 @@
"type": "github"
}
},
"waybar": {
"inputs": {
"flake-compat": "flake-compat_3",
"nixpkgs": "nixpkgs_5"
},
"locked": {
"lastModified": 1714631500,
"narHash": "sha256-yrUm8IX8mZJdpJHrd/Pd/pJYycjppe8YmqtT0yAXSkU=",
"owner": "Alexays",
"repo": "waybar",
"rev": "79ae530bd29cb561d6f48773e894dd62fe353b7f",
"type": "github"
},
"original": {
"owner": "Alexays",
"repo": "waybar",
"type": "github"
}
},
"wlroots": {
"flake": false,
"locked": {

View File

@ -19,10 +19,11 @@
};
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
hyprland.url = "github:hyprwm/Hyprland";
waybar.url = "github:Alexays/waybar";
};
outputs = inputs@{ nixpkgs, home-manager, sops-nix, nixvim, hyprland
, spicetify-nix, nixos-hardware, ... }: {
, spicetify-nix, nixos-hardware, waybar, ... }: {
nixosConfigurations = {
nixy = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
@ -43,6 +44,7 @@
inherit spicetify-nix;
inherit sops-nix;
inherit hyprland;
inherit waybar;
};
};
}

View File

@ -1,4 +1,4 @@
{ config, ... }: {
{ config, pkgs, inputs, ... }: {
services = {
blueman-applet.enable = true;
network-manager-applet.enable = true;
@ -6,6 +6,7 @@
programs.waybar = {
enable = true;
package = inputs.waybar.packages."${pkgs.system}".waybar;
settings = {
mainBar = {
layer = "top";

View File

@ -1,5 +1,4 @@
{
# CHANGEME
hostName = "nixy";
username = "hadi";
homeDirectory = "/home/hadi";