Refactor Nix configurations for improved readability and organization; update package declarations to use 'with pkgs;' syntax and remove unnecessary builtins.attrValues.

This commit is contained in:
2025-07-23 14:18:20 -03:00
parent 5c62858c37
commit 6268fe3b00
29 changed files with 256 additions and 233 deletions

View File

@@ -43,21 +43,18 @@ in {
};
};
home.packages = builtins.attrValues {
inherit
(pkgs)
# FIXME(starter): add/edit as desired
# Packages that don't have custom configs go here
curl
pciutils
pfetch # system info
pre-commit # git hooks
p7zip # compression & encryption
usbutils
unzip # zip extraction
unrar # rar extraction
;
};
home.packages = with pkgs; [
# FIXME(starter): add/edit as desired
# Packages that don't have custom configs go here
curl
pciutils
pfetch # system info
pre-commit # git hooks
p7zip # compression & encryption
usbutils
unzip # zip extraction
unrar # rar extraction
];
nix = {
package = lib.mkDefault pkgs.nix;

View File

@@ -1,5 +0,0 @@
{pkgs, ...}: {
home.packages = with pkgs; [
aider-chat-full
];
}

View File

@@ -1,8 +1,5 @@
{pkgs, ...}: {
home.packages = builtins.attrValues {
inherit
(pkgs)
oterm
;
};
home.packages = with pkgs; [
oterm
];
}

View File

@@ -1,7 +1,6 @@
# FIXME(starter): customize your bash preferences here
{
imports = [
./aider.nix
./atuin.nix
./autojump.nix
./bash.nix

View File

@@ -1,10 +1,7 @@
{pkgs, ...}: {
home.packages = builtins.attrValues {
inherit
(pkgs)
grc
;
};
home.packages = with pkgs; [
grc
];
programs.fish = {
enable = true;