Run alejandra

This commit is contained in:
ItsDrike 2024-07-27 01:07:07 +02:00
parent 286920def4
commit c00134da1c
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0
152 changed files with 827 additions and 721 deletions

View file

@ -1,8 +1,11 @@
{ config, pkgs, lib, ... }:
let
nr = "${pkgs.nixos-rebuild}/bin/nixos-rebuild";
in
{
config,
pkgs,
lib,
...
}: let
nr = "${pkgs.nixos-rebuild}/bin/nixos-rebuild";
in {
programs.zsh.shellAliases = {
# I'm not the greatest typist
sl = "ls";

View file

@ -1,4 +1,8 @@
{ config, pkgs, ... }: {
{
config,
pkgs,
...
}: {
imports = [
./plugins.nix
./aliases.nix

View file

@ -1,12 +1,9 @@
_:
let
_: let
inherit (builtins) readFile;
in
{
# I prefer having the rc files split across multiple files in my system rather
in {
# I prefer having the rc files split across multiple files in my system rather
# than just using readFile and putting them all into the generated zshrc
# this also allows me to source them individually if I need to
# this also allows me to source them individually if I need to
# (like in the anonymize function with my prompt)
home.file = {
# TODO: Load these dynamically, by going over all files in ./rc

View file

@ -1,8 +1,10 @@
{ config, pkgs, ... }:
let
inherit (pkgs) fetchFromGitHub;
in
{
config,
pkgs,
...
}: let
inherit (pkgs) fetchFromGitHub;
in {
programs.zsh.plugins = [
{
name = "zsh-nix-shell";