switch to official waybar flake

This commit is contained in:
jacekpoz 2024-01-20 12:55:14 +01:00
parent d00986ab4d
commit 367d323e37
No known key found for this signature in database
GPG key ID: 94E812A8B12AAE3C
3 changed files with 56 additions and 2 deletions

View file

@ -351,6 +351,22 @@
"type": "github" "type": "github"
} }
}, },
"flake-compat_7": {
"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": { "flake-parts": {
"inputs": { "inputs": {
"nixpkgs-lib": [ "nixpkgs-lib": [
@ -1321,6 +1337,22 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_12": {
"locked": {
"lastModified": 1704538339,
"narHash": "sha256-1734d3mQuux9ySvwf6axRWZRBhtcZA9Q8eftD6EZg6U=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "46ae0210ce163b3cba6c7da08840c1d63de9c701",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1693471703, "lastModified": 1693471703,
@ -1539,7 +1571,8 @@
"nur": "nur", "nur": "nur",
"schizofox": "schizofox", "schizofox": "schizofox",
"shadower": "shadower", "shadower": "shadower",
"split-monitor-workspaces": "split-monitor-workspaces" "split-monitor-workspaces": "split-monitor-workspaces",
"waybar": "waybar"
} }
}, },
"rust-analyzer-src": { "rust-analyzer-src": {
@ -1860,6 +1893,25 @@
"type": "github" "type": "github"
} }
}, },
"waybar": {
"inputs": {
"flake-compat": "flake-compat_7",
"nixpkgs": "nixpkgs_12"
},
"locked": {
"lastModified": 1705495468,
"narHash": "sha256-YG/4LeOPtc0u/bLbFQ4yCyLSatrzPfE3a9X1+k8Ttpc=",
"owner": "Alexays",
"repo": "Waybar",
"rev": "6e12f8122347ae279ae0fa1923acd6b908fa769c",
"type": "github"
},
"original": {
"owner": "Alexays",
"repo": "Waybar",
"type": "github"
}
},
"wlroots": { "wlroots": {
"flake": false, "flake": false,
"locked": { "locked": {

View file

@ -91,5 +91,7 @@
}; };
ags.url = "github:Aylur/ags"; ags.url = "github:Aylur/ags";
waybar.url = "github:Alexays/Waybar";
}; };
} }

View file

@ -14,7 +14,7 @@ in {
home-manager.users.${config'.username} = { home-manager.users.${config'.username} = {
programs.waybar = { programs.waybar = {
enable = true; enable = true;
package = inputs.nixpkgs-wayland.packages.${pkgs.system}.waybar; package = inputs.waybar.packages.${pkgs.system}.waybar;
systemd.enable = true; systemd.enable = true;
settings.mainBar = { settings.mainBar = {
gtk-layer-shell = true; gtk-layer-shell = true;