chore: switch to alejandra and format

This commit is contained in:
Youwen Wu 2024-08-16 06:42:35 -07:00
parent 9062a9d3ed
commit 26439134dd
Signed by: youwen
GPG key ID: 865658ED1FE61EC3
29 changed files with 342 additions and 315 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: {
{pkgs, ...}: {
home.file.".essentials" = {
source = ./essentials;
recursive = true;
@ -15,7 +15,7 @@
'';
};
programs.fzf = { enable = true; };
programs.fzf = {enable = true;};
programs.git = {
enable = true;
@ -57,7 +57,7 @@
programs.gh = {
enable = true;
extensions = [ pkgs.github-copilot-cli ];
extensions = [pkgs.github-copilot-cli];
};
programs.oh-my-posh = {
@ -68,7 +68,6 @@
useTheme = "gruvbox";
};
programs.direnv.enable = true;
programs.fish = {
@ -79,8 +78,7 @@
};
functions = {
update-nixos = {
description =
"Update the system flake and attempt to build and switch to the new configuration.";
description = "Update the system flake and attempt to build and switch to the new configuration.";
body = ''
cd /etc/nixos
nix flake update

View file

@ -1 +1 @@
{ imports = [ ./core.nix ]; }
{imports = [./core.nix];}