nixos-config/modules/nixos/profiles/installer.nix

27 lines
705 B
Nix
Raw Normal View History

2024-03-03 02:26:19 +00:00
# A dedicated profile for installers with some niceties in it. This is also
2024-07-09 15:20:29 +00:00
# used for persistent live installers so you'll have to exclude setting up shop
# and do that in the respective NixOS configuration instead.
{ pkgs, lib, modulesPath, ... }:
{
2024-03-03 02:26:19 +00:00
imports = [
"${modulesPath}/profiles/all-hardware.nix"
"${modulesPath}/profiles/base.nix"
"${modulesPath}/profiles/installation-device.nix"
];
# Include some modern niceties.
environment.systemPackages = with pkgs; [
disko
ripgrep
git
lazygit
neovim
zellij
];
# Yeah, that's right, this is also a Guix System installer because SCREW YOU,
# NIXOS USERS!
services.guix.enable = lib.mkDefault true;
}