refactor templates
This commit is contained in:
parent
bcc1aaff1f
commit
576b6963e3
6 changed files with 65 additions and 21 deletions
15
nixos/templates/iso.nix
Normal file
15
nixos/templates/iso.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ pkgs, modulesPath, lib, ... }: {
|
||||
imports = [
|
||||
"${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix"
|
||||
];
|
||||
|
||||
# use the latest Linux kernel
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
git
|
||||
];
|
||||
|
||||
# Needed for https://github.com/NixOS/nixpkgs/issues/58959
|
||||
boot.supportedFilesystems = lib.mkForce [ "btrfs" "reiserfs" "vfat" "f2fs" "xfs" "ntfs" "cifs" ];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue