nix-config/modules/base/default.nix
2025-12-06 16:56:26 +01:00

58 lines
756 B
Nix

{
pkgs,
inputs,
...
}:
{
nix = {
channel.enable = false;
package = pkgs.nix;
nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
settings = {
experimental-features = [
"nix-command"
"flakes"
];
};
gc = {
automatic = true;
options = "delete-older-than 7d";
};
optimise = {
automatic = true;
};
};
nixpkgs = {
config = {
allowUnfree = true;
allowUnsupportedSystem = true;
};
};
environment.systemPackages = with pkgs; [
gcc
wget
git
btop
fish
ripgrep
fzf
fd
sd
bat
neovim
just
tldr
fortune
ffmpeg
zoxide
sqlite
rsync
restic
imagemagick
sqlite
fortune
];
}