fmt: alejandra

This commit is contained in:
♥ Minnie ♥ 2024-08-08 09:02:42 +08:00
parent 53378cdfc9
commit 3350d19a45
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
79 changed files with 432 additions and 511 deletions

View file

@ -1,6 +1,4 @@
{ pkgs, ... }:
{
{pkgs, ...}: {
imports = [
./git.nix
./nvim.nix

View file

@ -1,6 +1,4 @@
{ pkgs, ... }:
{
{pkgs, ...}: {
home.packages = with pkgs; [
lazygit
];

View file

@ -1,7 +1,8 @@
{ inputs, pkgs, ... }:
{
inputs,
pkgs,
...
}: {
# Install our nixvim configuration for neovim.
home.packages = [ inputs.nixvim.packages.${pkgs.system}.default ];
home.packages = [inputs.nixvim.packages.${pkgs.system}.default];
}

View file

@ -1,13 +1,11 @@
{ pkgs, ... }:
{
{pkgs, ...}: {
home.packages = with pkgs; [
fzf # command-line fuzzy finder
];
programs.zsh = {
enable = true;
# Enable extra features
autosuggestion = {
enable = true;
@ -17,17 +15,17 @@
};
enableCompletion = true;
dotDir = ".config/zsh";
# Commands that should be added to to top of '.zshrc'
initExtraFirst = ''
'';
# Aliases
shellAliases = {
c = "clear";
r = "cd ~/.repositories";
p = "cd ~/.print";
d = "cd ~/.repositories/dotfiles.nix";
c = "clear";
r = "cd ~/.repositories";
p = "cd ~/.print";
d = "cd ~/.repositories/dotfiles.nix";
la = "ls -a";
ll = "ls -l";
tt = "wezterm cli set-tab-title ";
@ -40,7 +38,7 @@
crkbd = "$HOME/.github/qmk_keymaps/keyboards/crkbd/keymaps/sajenim";
kchrn = "$HOME/.github/qmk_keymaps/keyboards/keychron/q4/ansi_v2/keymaps/sajenim";
};
# Install plugins
plugins = [
{
@ -53,7 +51,7 @@
};
}
];
# Extra commands that should be added to '.zshrc'
initExtra = ''
eval "$(direnv hook zsh)"
@ -66,4 +64,3 @@
'';
};
}

View file

@ -1,5 +1,4 @@
{ pkgs, ... }:
let
{pkgs, ...}: let
awesome = pkgs.awesome.overrideAttrs (oa: {
version = "ad0290bc1aac3ec2391aa14784146a53ebf9d1f0";
src = pkgs.fetchFromGitHub {
@ -9,16 +8,18 @@ let
hash = "sha256-uaskBbnX8NgxrprI4UbPfb5cRqdRsJZv0YXXshfsxFU=";
};
patches = [ ];
patches = [];
postPatch = ''
patchShebangs tests/examples/_postprocess.lua
'';
});
in
{
in {
xdg.configFile = {
awesome = { source = ./config; recursive = true; };
awesome = {
source = ./config;
recursive = true;
};
};
xsession.windowManager.awesome = {
@ -26,4 +27,3 @@ in
package = awesome;
};
}

View file

@ -1,6 +1,8 @@
{ inputs, pkgs, ... }:
{
inputs,
pkgs,
...
}: {
imports = [
./discord
./rofi

View file

@ -1,9 +1,7 @@
{ pkgs, ... }:
{
{pkgs, ...}: {
nixpkgs.overlays = [
(final: prev: {
discord = prev.discord.override { withOpenASAR = true; };
discord = prev.discord.override {withOpenASAR = true;};
})
];

View file

@ -1,6 +1,4 @@
{ pkgs, ... }:
{
{pkgs, ...}: {
home.packages = with pkgs; [
# protonmail-bridge requires password manager
pass
@ -115,4 +113,3 @@
];
};
}

View file

@ -1,6 +1,4 @@
{ pkgs, ... }:
{
{pkgs, ...}: {
home.packages = with pkgs; [
weechat
];
@ -16,4 +14,3 @@
];
};
}

View file

@ -1,6 +1,4 @@
{ pkgs, ... }:
{
{pkgs, ...}: {
services.mpd = {
enable = true;
musicDirectory = "nfs://viridian.kanto.dev/srv/multimedia/library/music";

View file

@ -1,6 +1,4 @@
{ ... }:
{
{...}: {
services.picom = {
enable = true;
shadow = true;

View file

@ -1,6 +1,4 @@
{ pkgs, ... }:
{
{pkgs, ...}: {
programs.rofi = {
enable = true;
font = "Fisa Code 10";
@ -16,4 +14,3 @@
recursive = true;
};
}

View file

@ -1,12 +1,12 @@
{ pkgs, ... }:
{
{pkgs, ...}: {
home.packages = with pkgs.unstable; [
wezterm
];
xdg.configFile = {
wezterm = { source = ./config; recursive = true; };
wezterm = {
source = ./config;
recursive = true;
};
};
}

View file

@ -1,6 +1,4 @@
{ pkgs, ... }:
{
{pkgs, ...}: {
imports = [
./mangohud.nix
];

View file

@ -1,6 +1,4 @@
{ pkgs, ... }:
{
{pkgs, ...}: {
programs.mangohud = {
enable = true;
package = pkgs.mangohud;

View file

@ -1,6 +1,4 @@
{ pkgs, ... }:
{
{pkgs, ...}: {
home = {
packages = with pkgs; [
blender