created quickshell template

This commit is contained in:
Charlie Root 2024-08-22 20:20:23 +02:00
commit 8443084c3a
3 changed files with 47 additions and 1 deletions

View file

@ -122,7 +122,7 @@ in {
kb_variant = ",colemak_dh_wide";
kb_options = "grp:rctrl_rshift_toggle";
sensitivity = 1.0;
sensitivity = 0.0;
follow_mouse = true;
repeat_rate = 50;

View file

@ -0,0 +1,8 @@
_: {
flake.templates = {
qs = {
path = ./quickshell;
description = "QuickShell developement flake";
};
};
}

View file

@ -0,0 +1,38 @@
{
description = "NixOS presentation";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs";
quickshell = {
url = "git+https://git.outfoxxed.me/outfoxxed/quickshell";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = {
nixpkgs,
quickshell,
...
}: 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
{
withJemalloc = true;
withQtSvg = true;
withWayland = true;
withX11 = false;
withPipewire = true;
withPam = true;
withHyprland = true;
}
];
};
});
};
}