t2-iso-minimal, t2-iso-gnome: move common imports to common.nix

This commit is contained in:
kekrby 2022-12-06 20:40:19 +03:00
parent 99bdf32ab4
commit 8637113f7c
3 changed files with 8 additions and 7 deletions

View file

@ -1,6 +1,11 @@
{ pkgs, ... }:
{ pkgs, modulesPath, nixos-hardware, ... }:
{
imports = [
"${modulesPath}/installer/cd-dvd/channel.nix"
nixos-hardware.nixosModules.apple-t2
];
nix.settings = {
trusted-substituters = [
"https://t2linux.cachix.org"

View file

@ -1,10 +1,8 @@
{ pkgs, lib, nixos-hardware, modulesPath, ... }:
{ lib, modulesPath, ... }:
{
imports = [
"${modulesPath}/installer/cd-dvd/installation-cd-graphical-gnome.nix"
"${modulesPath}/installer/cd-dvd/channel.nix"
nixos-hardware.nixosModules.apple-t2
./common.nix
];

View file

@ -1,10 +1,8 @@
{ pkgs, nixos-hardware, modulesPath, ... }:
{ modulesPath, ... }:
{
imports = [
"${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix"
"${modulesPath}/installer/cd-dvd/channel.nix"
nixos-hardware.nixosModules.apple-t2
./common.nix
];
}