t2-iso-minimal, t2-iso-gnome: move common imports to common.nix
This commit is contained in:
parent
99bdf32ab4
commit
8637113f7c
3 changed files with 8 additions and 7 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
];
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue