nixos_config/system/packages.nix

53 lines
1.2 KiB
Nix
Raw Normal View History

2024-05-07 15:37:50 -04:00
{ lib, agenix, pkgs, config, modulesPath, ... }:
{
environment.systemPackages = [
pkgs.file
pkgs.xterm
2024-05-11 04:41:00 -04:00
# `agenix` is currently added via
# "<config>.nixos-wsl.modules.environment.systemPackages"
2024-05-07 15:37:50 -04:00
];
2024-05-07 15:37:50 -04:00
nixpkgs = {
config = {
allowUnfree = true;
};
};
programs = {
zsh = {
enable = true;
};
nano = {
enable = true;
};
2024-05-11 04:41:00 -04:00
# I haven't figured out how to get `cdemu` properly working (in WSL), so
# I'm just going to leave it as `programs.cdemu.enable = false;` for now.
2024-05-07 15:37:50 -04:00
cdemu = {
enable = false;
group = "cdrom";
gui = false;
image-analyzer = false;
};
};
2024-05-11 04:41:00 -04:00
# `documentation.man.generateCaches` seems to be mainly useful for `whatis`,
# but I couldn't really get it working well.
# From what I can tell, it depends on a package being installed via
# `environment.systemPackages`, *and* for that package to have a manpage.
# That's kinda useless for me since I've been mostly installing stuff via
# `home-manager`, sooooooooo...
/*
documentation = {
nixos = {
includeAllModules = true;
};
man = {
generateCaches = true;
};
};
*/
2024-05-07 15:37:50 -04:00
}