style: nix fmt

This commit is contained in:
Kat Inskip 2025-07-13 07:16:21 -07:00
parent a72a61f475
commit f63d899a25
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
13 changed files with 25 additions and 38 deletions

View file

@ -1,8 +1,4 @@
{
inputs,
system,
...
}: {
_: {
nixpkgs = {
overlays = [
];

View file

@ -137,12 +137,12 @@
};
};
snowfall-lib = {
url = "github:snowfallorg/lib";
inputs = {
nixpkgs.follows = "nixpkgs";
flake-utils-plus.follows = "flake-utils-plus";
flake-compat.follows = "flake-compat";
};
url = "github:snowfallorg/lib";
inputs = {
nixpkgs.follows = "nixpkgs";
flake-utils-plus.follows = "flake-utils-plus";
flake-compat.follows = "flake-compat";
};
};
nh = {
url = "github:nix-community/nh";

View file

@ -1,7 +1,4 @@
{
inputs,
...
}:
{inputs, ...}:
inputs.flake-utils.lib.eachDefaultSystem (system: let
treefmtEval = inputs.treefmt-nix.lib.evalModule inputs.nixpkgs.legacyPackages.${system} ./treefmt.nix;
in {

View file

@ -1,7 +1,4 @@
{
pkgs,
...
}: {
{pkgs, ...}: {
programs.niri.settings.spawn-at-startup = let
import-gsettings = pkgs.writeShellScriptBin "import-gsettings" ''
# usage: import-gsettings

View file

@ -1,7 +1,4 @@
{
config,
...
}: {
{config, ...}: {
catppuccin.cursors.enable = true;
home.pointerCursor = {
dotIcons.enable = true;

View file

@ -196,7 +196,8 @@ with lib; rec {
level ? 1,
}: let
prefix = concatStringsSep "" (lib.genList (_x: " ") (level * 2));
in lib.imap1 (i: v: "${
in
lib.imap1 (i: v: "${
if includesWrapper && (i == 1 || i == (lib.length list))
then v
else "${prefix}${v}"

View file

@ -1,7 +1,4 @@
{
lib,
...
}: let
{lib, ...}: let
inherit (lib.types) submodule loaOf;
inherit (lib.modules) mkDefault mkAfter;
inherit (lib.options) mkOption;

View file

@ -1,7 +1,4 @@
{
pkgs,
...
}: {
{pkgs, ...}: {
hardware.graphics = {
enable32Bit = true;
extraPackages32 = with pkgs; [

View file

@ -1,4 +1,4 @@
{ config, ... }: {
{config, ...}: {
security.acme = {
defaults = {
dnsProvider = "cloudflare";

View file

@ -1,11 +1,16 @@
{pkgs, inputs, ...}: {
{
pkgs,
inputs,
...
}: {
home-manager.users.kat.programs.weechat = {
plugins = {
perl = {
enable = true;
};
};
scripts = with inputs.arcexprs.legacyPackages.${pkgs.system}.weechatScripts; with pkgs.weechatScripts; [
scripts = with inputs.arcexprs.legacyPackages.${pkgs.system}.weechatScripts;
with pkgs.weechatScripts; [
highmon
parse_relayed_msg
];

View file

@ -15,7 +15,8 @@ in {
enable = true;
};
};
scripts = with inputs.arcexprs.legacyPackages.${pkgs.system}.weechatScripts; with pkgs.weechatScripts; [
scripts = with inputs.arcexprs.legacyPackages.${pkgs.system}.weechatScripts;
with pkgs.weechatScripts; [
colorize_nicks
title
weechat-go

View file

@ -7,7 +7,6 @@
shells = import ./shells {inherit inputs tree lib std pkgs;};
inherit (import ./pkgs.nix {inherit inputs tree overlay;}) pkgs;
formatting = import ./formatting.nix {inherit inputs pkgs;};
wrappers = import ./wrappers {inherit inputs;};
inherit (std) set;
checks = set.map (_: deployLib: deployLib.deployChecks inputs.self.deploy) inputs.deploy-rs.lib;
in

View file

@ -1,6 +1,6 @@
{inputs, ...}: let
std = let
baseStd = inputs.std.lib.Std.compat // { inherit (inputs.std.lib.Std.std) tuple; };
baseStd = inputs.std.lib.Std.compat // {inherit (inputs.std.lib.Std.std) tuple;};
inherit (baseStd) set function list bool types optional tuple;
mergeWith = let
append = {