refactor(treewide): statix
This commit is contained in:
parent
366fa0ce80
commit
7f2cd7a343
71 changed files with 84 additions and 84 deletions
|
|
@ -5,7 +5,7 @@
|
|||
pkgs,
|
||||
...
|
||||
}: let
|
||||
wayland = config.ooknet.wayland;
|
||||
inherit (config.ooknet) wayland;
|
||||
inherit (lib) mkIf;
|
||||
in {
|
||||
imports = [
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
wayland = config.ooknet.wayland;
|
||||
inherit (config.ooknet) wayland;
|
||||
in {
|
||||
config = mkIf (wayland.compositor == "hyprland") {
|
||||
home.packages = with inputs; [
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
wayland = config.ooknet.wayland;
|
||||
inherit (config.ooknet) wayland;
|
||||
in {
|
||||
config = mkIf (wayland.compositor == "hyprland") {
|
||||
home.packages = [pkgs.hyprshade];
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
wayland = config.ooknet.wayland;
|
||||
binds = config.ooknet.binds;
|
||||
inherit (config.ooknet) wayland;
|
||||
inherit (config.ooknet) binds;
|
||||
in {
|
||||
config = mkIf (wayland.compositor == "hyprland") {
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
wayland = config.ooknet.wayland;
|
||||
inherit (config.ooknet) wayland;
|
||||
in {
|
||||
config = mkIf (wayland.compositor == "hyprland") {
|
||||
wayland.windowManager.hyprland.settings.env = [
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
wayland = config.ooknet.wayland;
|
||||
inherit (config.ooknet) wayland;
|
||||
in {
|
||||
config = mkIf (wayland.compositor == "hyprland") {
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
wayland = config.ooknet.wayland;
|
||||
inherit (config.ooknet) wayland;
|
||||
in {
|
||||
config = mkIf (wayland.compositor == "hyprland") {
|
||||
wayland.windowManager.hyprland.settings.gestures = {
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
wayland = config.ooknet.wayland;
|
||||
inherit (config.ooknet) wayland;
|
||||
in {
|
||||
config = mkIf (wayland.compositor == "hyprland") {
|
||||
wayland.windowManager.hyprland.settings.input = {
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
wayland = config.ooknet.wayland;
|
||||
inherit (config.ooknet) wayland;
|
||||
in {
|
||||
config = mkIf (wayland.compositor == "hyprland") {
|
||||
wayland.windowManager.hyprland.settings.misc = {
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@
|
|||
...
|
||||
}: let
|
||||
inherit (lib) mkIf concatMap;
|
||||
wayland = config.ooknet.wayland;
|
||||
monitors = osConfig.ooknet.host.hardware.monitors;
|
||||
inherit (config.ooknet) wayland;
|
||||
inherit (osConfig.ooknet.host.hardware) monitors;
|
||||
in {
|
||||
config = mkIf (wayland.compositor == "hyprland") {
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
wayland = config.ooknet.wayland;
|
||||
inherit (config.ooknet) wayland;
|
||||
in {
|
||||
config = mkIf (wayland.compositor == "hyprland") {
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue