gparted: coquille, était "parted"
parent
2dc04d849b
commit
07d8924ecd
@ -0,0 +1,7 @@
|
|||||||
|
all:
|
||||||
|
nixos-generate-config --root /mnt
|
||||||
|
git config --global user.email "nixos-live@example.org"
|
||||||
|
git config --global user.name "NixOS Live"
|
||||||
|
cd /mnt/etc/nixos && git init . && git add . && git commit -m "initial commit"
|
||||||
|
cd /mnt/etc/nixos && git submodule add http://gogs.prunetwork.fr:80/nixos-config/nixos-template-base.git base
|
||||||
|
cd /mnt/etc/nixos && git submodule add https://gogs.prunetwork.fr/Capgemini-CDS-Arkea/template-nixos.git capgemini-cmb
|
@ -0,0 +1,23 @@
|
|||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
capgemini-cmb/default.nix
|
||||||
|
/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix
|
||||||
|
nixos-template-base/base.nix
|
||||||
|
];
|
||||||
|
# Custom name
|
||||||
|
isoImage.isoName = pkgs.lib.mkForce "${config.isoImage.isoBaseName}-capgemini-${config.system.nixosLabel}-${pkgs.stdenv.system}.iso";
|
||||||
|
# Avoid having the terminal flooded by kernel audit messages
|
||||||
|
boot.kernelParams = [ "audit=0" ];
|
||||||
|
|
||||||
|
# Files to copy to the liveCD
|
||||||
|
isoImage.contents = [
|
||||||
|
{
|
||||||
|
source = ./Makefile.installation;
|
||||||
|
target = "/custom/Makefile";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
environment.shellAliases = { nixos-generate-custom-config = "cd /iso/custom/ && make";};
|
||||||
|
networking.hostName = "nixos-livecd.corp.capgemini.com";
|
||||||
|
}
|
Loading…
Reference in New Issue