chore: nix fmt
This commit is contained in:
parent
a80bd4ed3b
commit
7266fff06e
128 changed files with 3402 additions and 2013 deletions
|
@ -1,13 +1,21 @@
|
|||
{ pkgs
|
||||
, lib
|
||||
, config
|
||||
, ... }: with lib; let
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.passthrough.gyroflow;
|
||||
in mkIf cfg.enable {
|
||||
in
|
||||
mkIf cfg.enable {
|
||||
# temporarily gone until regression is fixed
|
||||
#home.packages = [ cfg.package ];
|
||||
|
||||
wayland.windowManager.sway.config.window.commands = [
|
||||
{ criteria.app_id = "xyz.gyroflow.gyroflow"; command = "floating enable"; }
|
||||
{
|
||||
criteria.app_id = "xyz.gyroflow.gyroflow";
|
||||
command = "floating enable";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,16 +1,23 @@
|
|||
{ pkgs
|
||||
, lib
|
||||
, config
|
||||
, ... }: with lib; let
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.home.gyroflow;
|
||||
in {
|
||||
in
|
||||
{
|
||||
options.home.gyroflow = {
|
||||
enable = mkEnableOption "gyroflow stabilisation software";
|
||||
package = mkOption {
|
||||
type = with types; package;
|
||||
default = pkgs.gyroflow.overrideAttrs (finalAttrs: previousAttrs: {
|
||||
buildInputs = previousAttrs.buildInputs ++ [ pkgs.qt6Packages.qtwayland ];
|
||||
});
|
||||
default = pkgs.gyroflow.overrideAttrs (
|
||||
finalAttrs: previousAttrs: {
|
||||
buildInputs = previousAttrs.buildInputs ++ [ pkgs.qt6Packages.qtwayland ];
|
||||
}
|
||||
);
|
||||
description = "gyroflow package";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue