nix-config/modules/nixos/common.nix
Gabe Venberg fe1ed3e1be IN PROGRESS COMMIT. does not currently build.
Attempting to make nixos config that incorperates a non-nixos HM config.
2024-04-03 17:50:53 -05:00

24 lines
534 B
Nix

{
config,
pkgs,
...
}: {
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
nix = {
package = pkgs.nixFlakes;
extraOptions = ''
experimental-features = nix-command flakes
'';
};
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
# packages that should be on every system.
environment.systemPackages = with pkgs; [
vi # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
];
}