created quickshell template
This commit is contained in:
parent
e6497f3215
commit
8443084c3a
3 changed files with 47 additions and 1 deletions
|
@ -122,7 +122,7 @@ in {
|
||||||
kb_variant = ",colemak_dh_wide";
|
kb_variant = ",colemak_dh_wide";
|
||||||
kb_options = "grp:rctrl_rshift_toggle";
|
kb_options = "grp:rctrl_rshift_toggle";
|
||||||
|
|
||||||
sensitivity = 1.0;
|
sensitivity = 0.0;
|
||||||
follow_mouse = true;
|
follow_mouse = true;
|
||||||
|
|
||||||
repeat_rate = 50;
|
repeat_rate = 50;
|
||||||
|
|
8
parts/templates/default.nix
Normal file
8
parts/templates/default.nix
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
_: {
|
||||||
|
flake.templates = {
|
||||||
|
qs = {
|
||||||
|
path = ./quickshell;
|
||||||
|
description = "QuickShell developement flake";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
38
parts/templates/quickshell/flake.nix
Normal file
38
parts/templates/quickshell/flake.nix
Normal 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;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
});
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue