mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15:11:34 +01:00
Move installer generation into it's own repo
This commit is contained in:
parent
7580c67c31
commit
2793a33d2f
3 changed files with 0 additions and 41 deletions
|
|
@ -25,7 +25,6 @@ in
|
|||
flake = {
|
||||
nixosConfigurations = lib.mkMerge [
|
||||
(mkHost "fern")
|
||||
(mkHost "installer")
|
||||
(mkHost "north")
|
||||
(mkHost "stratus")
|
||||
];
|
||||
|
|
|
|||
|
|
@ -1,37 +0,0 @@
|
|||
{
|
||||
modulesPath,
|
||||
inputs,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
"${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix"
|
||||
../common.nix
|
||||
];
|
||||
|
||||
isoImage = {
|
||||
edition = lib.mkForce "seb-minimal";
|
||||
isoName = lib.mkForce "NixOS.iso";
|
||||
};
|
||||
|
||||
nixpkgs.hostPlatform = "x86_64-linux";
|
||||
|
||||
networking = {
|
||||
wireless.enable = false;
|
||||
networkmanager.enable = true;
|
||||
};
|
||||
|
||||
environment.systemPackages = [ inputs.disko.packages.${pkgs.system}.default ];
|
||||
|
||||
services.openssh.enable = lib.mkForce false;
|
||||
services.tailscale = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
extraUpFlags = [ "--ssh" ];
|
||||
|
||||
# Ephemeral + not pre-approved
|
||||
authKeyFile = pkgs.writeText "tailscale-key-file" "tskey-auth-kB9BjHT7WP11CNTRL-doCbK8AHoNGZNLiFVbKbNGrCi8CoXXsQ";
|
||||
};
|
||||
}
|
||||
3
justfile
3
justfile
|
|
@ -18,6 +18,3 @@ check:
|
|||
|
||||
dev shell='default':
|
||||
nix develop .#{{ shell }} --command zsh
|
||||
|
||||
build-iso:
|
||||
nix run nixpkgs#nixos-generators -- --format iso --flake .#installer -o result
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue