Skip to content

Commit

Permalink
style: format with alejandra
Browse files Browse the repository at this point in the history
  • Loading branch information
uncenter committed Apr 12, 2024
1 parent eb09e94 commit f0dad2e
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 8 deletions.
8 changes: 6 additions & 2 deletions home/programs/fish.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{lib, pkgs, config, ...}: {
{
lib,
pkgs,
config,
...
}: {
programs.fish = {
enable = true;
catppuccin.enable = true;
Expand Down Expand Up @@ -30,7 +35,6 @@
"cx" = "chmod +x";
};


plugins = [
{
name = "autopair";
Expand Down
2 changes: 1 addition & 1 deletion home/programs/git.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ _: {
ignores = [
".DS_Store"
];

aliases = {
"undo" = "reset --soft HEAD~1";
};
Expand Down
1 change: 0 additions & 1 deletion home/programs/newsboat.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
_: {
programs.newsboat = {
enable = true;
# catppuccin.enable = true;

browser = "open %u";
urls = builtins.map (x: {"url" = x;}) [
Expand Down
2 changes: 1 addition & 1 deletion home/programs/rust.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ in {

home.packages = with pkgs; [
rust-bin.stable.latest.default

cargo-sort
cargo-bump
cargo-bloat
Expand Down
6 changes: 5 additions & 1 deletion home/programs/yazi.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ _: {

keymap = {
manager.append_keymap = [
{ on = ["<Space>"]; run = ["select --state=none"]; desc = "Toggle the current selection state"; }
{
on = ["<Space>"];
run = ["select --state=none"];
desc = "Toggle the current selection state";
}
];
};
};
Expand Down
2 changes: 1 addition & 1 deletion modules/homebrew.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ _: {
"1password/tap"
];

brews = [ ];
brews = [];

casks = [
"1password"
Expand Down
3 changes: 2 additions & 1 deletion modules/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
inputs,
...
}: {
environment.systemPackages = with pkgs; with inputs.catppuccin-toolbox.packages.${pkgs.system}; [
environment.systemPackages = with pkgs;
with inputs.catppuccin-toolbox.packages.${pkgs.system}; [
inputs.home-manager.packages.${pkgs.system}.home-manager

alejandra
Expand Down

0 comments on commit f0dad2e

Please sign in to comment.