From a793d0b060877b9be27f72c75c3fd87f769db607 Mon Sep 17 00:00:00 2001 From: Eric Tossell Date: Thu, 2 May 2024 18:45:38 -0400 Subject: [PATCH] chore: nix fmt --- modules/apps/1password/default.nix | 13 +++++-------- modules/core/nix/default.nix | 6 +----- modules/core/nix/nh/default.nix | 3 +-- modules/core/terminal/cava/default.nix | 5 +---- modules/core/terminal/default.nix | 6 +----- modules/core/terminal/fish/default.nix | 4 ++-- 6 files changed, 11 insertions(+), 26 deletions(-) diff --git a/modules/apps/1password/default.nix b/modules/apps/1password/default.nix index 66547526..816ade34 100644 --- a/modules/apps/1password/default.nix +++ b/modules/apps/1password/default.nix @@ -1,7 +1,4 @@ -{ - username, - ... -}: +{ username, ... }: { home-manager.users.${username} = { home.file = { @@ -10,10 +7,10 @@ # Host * # IdentityAgent ~/.1password/agent.sock - # Host git.eriim.dev -# HostName eriim.dev -# Port 23231 - # ''; + # Host git.eriim.dev + # HostName eriim.dev + # Port 23231 + # ''; # Configure 1password to handle SSH commit signing ".gitconfig".text = '' diff --git a/modules/core/nix/default.nix b/modules/core/nix/default.nix index fb1ecd60..1132e215 100644 --- a/modules/core/nix/default.nix +++ b/modules/core/nix/default.nix @@ -1,8 +1,4 @@ -{ - pkgs, - username, - ... -}: +{ pkgs, username, ... }: { imports = [ ./nh ]; diff --git a/modules/core/nix/nh/default.nix b/modules/core/nix/nh/default.nix index 7ef7d619..790100a2 100644 --- a/modules/core/nix/nh/default.nix +++ b/modules/core/nix/nh/default.nix @@ -1,10 +1,9 @@ { username, ... }: { - programs.nh = { + programs.nh = { enable = true; clean.enable = true; clean.extraArgs = "--keep-since 4d --keep 3"; flake = "/home/${username}/repos/nix/nixflakes"; - }; } diff --git a/modules/core/terminal/cava/default.nix b/modules/core/terminal/cava/default.nix index 2874caa4..ae29a5d8 100644 --- a/modules/core/terminal/cava/default.nix +++ b/modules/core/terminal/cava/default.nix @@ -1,7 +1,4 @@ -{ - pkgs, - ... -}: +{ pkgs, ... }: { imports = [ ./dots ]; environment.systemPackages = with pkgs; [ cava ]; diff --git a/modules/core/terminal/default.nix b/modules/core/terminal/default.nix index df4a834e..de346627 100644 --- a/modules/core/terminal/default.nix +++ b/modules/core/terminal/default.nix @@ -1,8 +1,4 @@ -{ - pkgs, - username, - ... -}: +{ pkgs, username, ... }: { imports = [ ./cava diff --git a/modules/core/terminal/fish/default.nix b/modules/core/terminal/fish/default.nix index 2ed7c66b..740177a8 100644 --- a/modules/core/terminal/fish/default.nix +++ b/modules/core/terminal/fish/default.nix @@ -11,14 +11,14 @@ ${pkgs.zoxide}/bin/zoxide init fish | source ''; shellAliases = { - + b = "btop"; c = "clear"; e = "exit"; n = "nvim"; t = "tmux"; r = "ranger"; - + g = "git"; ga = "git add"; gaa = "git add --all";