removed programs from systems/configuration.nix and created modules/libs.nix

This commit is contained in:
Richie Cahill 2024-04-15 00:08:17 -04:00 committed by Alice Huston
parent 8febdc8e9a
commit 8cc17721f0
2 changed files with 25 additions and 50 deletions

25
modules/libs.nix Normal file
View File

@ -0,0 +1,25 @@
{ lib, pkgs, ... }:
{
programs.nix-ld = {
enable = lib.mkDefault true;
libraries = with pkgs; [
acl
attr
bzip2
curl
glib
libglvnd
libmysqlclient
libsodium
libssh
libxml2
openssl
stdenv.cc.cc
systemd
util-linux
xz
zlib
zstd
];
};
}

View File

@ -30,56 +30,6 @@
}; };
}; };
programs = {
git = {
enable = true;
lfs.enable = lib.mkDefault true;
config = {
interactive.singlekey = true;
pull.rebase = true;
rebase.autoStash = true;
safe.directory = "/etc/nixos";
};
};
zsh = {
enable = true;
syntaxHighlighting.enable = true;
zsh-autoenv.enable = true;
enableCompletion = true;
enableBashCompletion = true;
ohMyZsh.enable = true;
autosuggestions = {
enable = true;
strategy = [ "completion" ];
async = true;
};
};
nix-ld = {
enable = true;
libraries = with pkgs; [
acl
attr
bzip2
curl
glib
libglvnd
libmysqlclient
libsodium
libssh
libxml2
openssl
stdenv.cc.cc
systemd
util-linux
xz
zlib
zstd
];
};
};
system = { system = {
autoUpgrade = { autoUpgrade = {
enable = true; enable = true;