parts/templates: fix quickshell template

This commit is contained in:
Charlie Root 2024-08-31 13:06:42 +02:00
commit a33d2cc90e
6 changed files with 84 additions and 13 deletions

View file

@ -1,7 +1,8 @@
{
description = "NixOS presentation";
description = "Quickshell tinkering";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
quickshell = {
url = "git+https://git.outfoxxed.me/outfoxxed/quickshell";
inputs.nixpkgs.follows = "nixpkgs";
@ -15,22 +16,34 @@
}: let
systems = ["x86_64-linux" "aarch64-linux"];
forEachSystem = nixpkgs.lib.genAttrs systems;
pkgsForEach = nixpkgs.legacyPackages;
in {
devShells = forEachSystem (system: {
default = pkgsForEach.${system}.mkShellNoCC {
packages = [
(quickshell.packages.${system}.default.override
default = nixpkgs.legacyPackages.${system}.mkShell {
packages = with nixpkgs.legacyPackages.${system}; [
(
quickshell.packages.${system}.default.override
{
withJemalloc = true;
withQtSvg = true;
withJemalloc = false;
withQtSvg = false;
withWayland = true;
withX11 = false;
withPipewire = true;
withPam = true;
withHyprland = true;
})
withPam = false;
withHyprland = false;
}
)
# dependencies
cli11
cmake
jemalloc
kdePackages.wayland
wayland
wayland-protocols
wayland-scanner
pkg-config
pipewire
qt6Packages.qtbase
qt6.qtdeclarative
];
};
});