From ee2baa3f1901bdfc0efb9cec2d1d97b2e68f3b50 Mon Sep 17 00:00:00 2001 From: cy Date: Sun, 9 Feb 2025 14:40:12 -0500 Subject: [PATCH] nix fmt --- .sops.yaml | 2 +- home/yt/ytnix.nix | 12 +++++++----- hosts/ytnix/default.nix | 5 ++++- modules/roundcube.nix | 21 ++++++++++++++------- overlay/default.nix | 9 +++++---- 5 files changed, 31 insertions(+), 18 deletions(-) diff --git a/.sops.yaml b/.sops.yaml index e067ba9..0fd042a 100644 --- a/.sops.yaml +++ b/.sops.yaml @@ -112,4 +112,4 @@ creation_rules: key_groups: - age: - *yt - - *cy \ No newline at end of file + - *cy diff --git a/home/yt/ytnix.nix b/home/yt/ytnix.nix index 72a0bab..06cd741 100644 --- a/home/yt/ytnix.nix +++ b/home/yt/ytnix.nix @@ -115,11 +115,13 @@ sccache awscli2 lldb - (cutter.withPlugins (p: with p; [ - rz-ghidra - jsdec - sigdb - ])) + (cutter.withPlugins ( + p: with p; [ + rz-ghidra + jsdec + sigdb + ] + )) ida-free patchelf radare2 diff --git a/hosts/ytnix/default.nix b/hosts/ytnix/default.nix index 270654d..a0f9d74 100644 --- a/hosts/ytnix/default.nix +++ b/hosts/ytnix/default.nix @@ -337,7 +337,10 @@ enable = true; wlr.enable = true; xdgOpenUsePortal = true; - extraPortals = with pkgs; [ xdg-desktop-portal-gtk xdg-desktop-portal-gnome ]; + extraPortals = with pkgs; [ + xdg-desktop-portal-gtk + xdg-desktop-portal-gnome + ]; }; programs.obs-studio = { diff --git a/modules/roundcube.nix b/modules/roundcube.nix index 3f2d8cc..63b14c5 100644 --- a/modules/roundcube.nix +++ b/modules/roundcube.nix @@ -1,4 +1,9 @@ -{ config, lib, pkgs, ... }: +{ + config, + lib, + pkgs, + ... +}: let cfg = config.my.roundcube; fpm = config.services.phpfpm.pools.roundcube; @@ -13,12 +18,14 @@ in services.roundcube = { enable = true; configureNginx = false; - package = pkgs.roundcube.withPlugins (p: with p; [ - persistent_login - contextmenu - custom_from - thunderbird_labels - ]); + package = pkgs.roundcube.withPlugins ( + p: with p; [ + persistent_login + contextmenu + custom_from + thunderbird_labels + ] + ); plugins = [ "persistent_login" "contextmenu" diff --git a/overlay/default.nix b/overlay/default.nix index 896258b..d498f88 100644 --- a/overlay/default.nix +++ b/overlay/default.nix @@ -1,4 +1,5 @@ -{ inputs }: let +{ inputs }: +let overlays = [ ./conduwuit ./attic @@ -7,9 +8,9 @@ importedOverlays = map (m: import m) overlays; in importedOverlays -++ -[ - (final: prev: +++ [ + ( + final: prev: let pkgFrom = flake: pkg: flake.legacyPackages.${prev.system}.${pkg}; stable = inputs.nixpkgs-stable;