parts/templates: fix quickshell template
This commit is contained in:
parent
0cd9acc0a7
commit
a33d2cc90e
6 changed files with 84 additions and 13 deletions
|
@ -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
|
||||
];
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue