Christoph Cullmann's NixOS configuration
Find a file
2024-10-24 17:53:45 +02:00
beta fix amd graphics 2024-10-24 10:19:37 +02:00
miku use doas 2024-10-24 11:11:13 +02:00
mini fix amd graphics 2024-10-24 10:19:37 +02:00
neko cleanup more hardware stuff 2024-10-10 21:59:50 +02: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 reset home manager 2024-10-24 17:53:45 +02:00
.gitignore strip trailing newline 2024-10-05 17:06:52 +02:00
README.md reset home manager 2024-10-24 17:53:45 +02:00

build unstable installer

{ 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-graphical-calamares-plasma6.nix" ]; }; }; }; }

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