Christoph Cullmann's NixOS configuration
Find a file
2024-11-03 18:17:46 +01:00
beta fix beta install 2024-11-02 16:02:28 +01:00
miku fix shutdown 2024-10-31 22:37:52 +01:00
mini fix config, needs mail address 2024-10-29 19:19:22 +01:00
neko fix neko config 2024-10-30 22:41:17 +01:00
packages prepare for zfs 2024-10-03 00:50:52 +02:00
projects/kde kill logs, too 2024-10-11 18:50:03 +02:00
share virtualisation.virtualbox.host.enableKvm works again 2024-11-03 18:17:46 +01:00
.gitignore strip trailing newline 2024-10-05 17:06:52 +02:00
README.md create an installer with network manager 2024-11-02 15:50:05 +01:00

build unstable installer with latest kernel

{
  description = "installation media";
  inputs.nixos.url = "nixpkgs/nixos-unstable";
  outputs = { self, nixos }: {
    nixosConfigurations = {
      exampleIso = nixos.lib.nixosSystem {
        system = "x86_64-linux";
        modules = [
          "${nixos}/nixos/modules/installer/cd-dvd/installation-cd-minimal-new-kernel-no-zfs.nix"
          ({ config, pkgs, ... }: {
            networking.wireless.enable = false;
            networking.networkmanager.enable = true;
          })
        ];
      };
    };
  };
}
git init
git add flake.nix
nix --extra-experimental-features flakes --extra-experimental-features nix-command build .#nixosConfigurations.exampleIso.config.system.build.isoImage

doas dd if=result/iso/nixos-*-x86_64-linux.iso of=/dev/sda bs=4M conv=fsync

reset home manager

rm /data/home/cullmann/.local/state/nix/profiles/home-manager* /date/home/cullmann/.local/state/home-manager/gcroots/current-home
rm /data/home/sandbox-games/.local/state/nix/profiles/home-manager* /date/home/sandbox-games/.local/state/home-manager/gcroots/current-home
rm /data/home/sandbox-kde/.local/state/nix/profiles/home-manager* /date/home/sandbox-kde/.local/state/home-manager/gcroots/current-home