2024-08-27 16:28:49 +02:00
|
|
|
# See the wiki for more details https://wiki.nixos.org/wiki/Creating_a_NixOS_live_CD
|
|
|
|
#
|
|
|
|
# Can be built with
|
|
|
|
# nix build .#nixosConfigurations.iso.config.system.build.isoImage
|
2024-08-27 13:54:32 +02:00
|
|
|
{ modulesPath, lib, ... }:
|
2024-08-26 17:38:47 +02:00
|
|
|
{
|
2024-08-27 16:28:49 +02:00
|
|
|
# {{{ Imports
|
2024-08-26 17:38:47 +02:00
|
|
|
imports = [
|
|
|
|
"${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix"
|
|
|
|
|
2024-08-27 13:30:17 +02:00
|
|
|
../common/global
|
2024-08-27 16:28:49 +02:00
|
|
|
../common/users/pilot.nix
|
|
|
|
../common/optional/desktop
|
2024-08-27 13:30:17 +02:00
|
|
|
../common/optional/wayland/hyprland.nix
|
2024-08-27 16:28:49 +02:00
|
|
|
../common/optional/services/kanata.nix
|
2024-08-26 17:38:47 +02:00
|
|
|
];
|
2024-08-27 16:28:49 +02:00
|
|
|
# }}}
|
2024-08-27 13:30:17 +02:00
|
|
|
# {{{ Automount hermes
|
|
|
|
fileSystems."/hermes" = {
|
|
|
|
device = "/dev/disk/by-uuid/7FE7-CA68";
|
|
|
|
neededForBoot = true;
|
|
|
|
options = [
|
|
|
|
"nofail"
|
|
|
|
"x-systemd.automount"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
# }}}
|
2024-08-27 16:28:49 +02:00
|
|
|
|
|
|
|
# Tell sops-nix to use the hermes keys for decrypting secrets
|
|
|
|
sops.age.sshKeyPaths = [ "/hermes/secrets/hermes/ssh_host_ed25519_key" ];
|
|
|
|
|
|
|
|
# Override tailscale service enabled by the `global/default.nix` file
|
|
|
|
services.tailscale.enable = lib.mkForce false;
|
|
|
|
|
|
|
|
# Fast but bad compression
|
|
|
|
# isoImage.squashfsCompression = "gzip -Xcompression-level 1";
|
|
|
|
|
|
|
|
# Set username
|
|
|
|
satellite.pilot.name = "moon";
|
2024-08-26 17:38:47 +02:00
|
|
|
}
|