import des améliorations de la branche capgemini-cmb
This commit is contained in:
4
.gitmodules
vendored
4
.gitmodules
vendored
@@ -2,7 +2,3 @@
|
|||||||
path = nixos-template-base
|
path = nixos-template-base
|
||||||
url = ssh://git@gogs.prunetwork.fr:10022/nixos-config/nixos-template-base.git
|
url = ssh://git@gogs.prunetwork.fr:10022/nixos-config/nixos-template-base.git
|
||||||
branch = nixos-unstable
|
branch = nixos-unstable
|
||||||
[submodule "capgemini-cmb"]
|
|
||||||
path = capgemini-cmb
|
|
||||||
url = ssh://git@gogs.prunetwork.fr:10022/Capgemini-CDS-Arkea/template-nixos.git
|
|
||||||
branch = master
|
|
||||||
|
|||||||
Submodule capgemini-cmb deleted from 13a77dcccd
@@ -1,15 +1,15 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
let
|
let
|
||||||
custom-generator = "generate-config.sh";
|
custom-generator = "generate-config.sh";
|
||||||
|
r6dLib = import ./nixos-template-base/lib.nix;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
capgemini-cmb/default.nix
|
|
||||||
/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-minimal.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
|
nixos-template-base/base.nix
|
||||||
];
|
];
|
||||||
# Custom name
|
# Custom name
|
||||||
isoImage.isoName = pkgs.lib.mkForce "${config.isoImage.isoBaseName}-capgemini-${config.system.nixosLabel}-${pkgs.stdenv.system}.iso";
|
isoImage.isoName = pkgs.lib.mkForce "${config.isoImage.isoBaseName}-grudu.net-${config.system.nixosLabel}-${pkgs.stdenv.system}.iso";
|
||||||
# Avoid having the terminal flooded by kernel audit messages
|
# Avoid having the terminal flooded by kernel audit messages
|
||||||
boot.kernelParams = [ "audit=0" ];
|
boot.kernelParams = [ "audit=0" ];
|
||||||
|
|
||||||
@@ -21,5 +21,23 @@ in
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
environment.shellAliases = { nixos-generate-custom-config = "/iso/custom/${custom-generator}";};
|
environment.shellAliases = { nixos-generate-custom-config = "/iso/custom/${custom-generator}";};
|
||||||
networking.hostName = "nixos-livecd.corp.capgemini.com";
|
networking.hostName = "nixos-livecd.grudu.net";
|
||||||
|
services.xserver.enable = true;
|
||||||
|
|
||||||
|
r6d.machines = r6dLib.applyProfilesToDirectory {} {
|
||||||
|
"nixos-livecd.grudu.net" = {
|
||||||
|
configurationFlags = {
|
||||||
|
dns_resolveur = true;
|
||||||
|
edition-photo = true;
|
||||||
|
jetbrains-licensed = true;
|
||||||
|
};
|
||||||
|
configurationOptions = {};
|
||||||
|
profiles = {
|
||||||
|
isDubronetwork = true;
|
||||||
|
isDubronetworkWorkstation = true;
|
||||||
|
isDesktopEnvironment = true;
|
||||||
|
isWorkstation = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Submodule nixos-template-base updated: 42db758638...4dbcc8ddc0
Reference in New Issue
Block a user