refactor(treewide): statix

This commit is contained in:
ooks-io 2024-08-11 20:24:40 +12:00
parent 366fa0ce80
commit 7f2cd7a343
71 changed files with 84 additions and 84 deletions

View file

@ -5,7 +5,7 @@
pkgs,
...
}: let
wayland = config.ooknet.wayland;
inherit (config.ooknet) wayland;
inherit (lib) mkIf;
in {
imports = [

View file

@ -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; [

View file

@ -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];

View file

@ -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 = {

View file

@ -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 = [

View file

@ -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 = {

View file

@ -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 = {

View file

@ -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 = {

View file

@ -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 = {

View file

@ -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 = {

View file

@ -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 = {