1
0
mirror of https://github.com/ellmau/nixos.git synced 2025-12-19 09:29:36 +01:00
Stefan Ellmauthaler bd13d7941b FLAKE update
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/5dbb662e9ba260eb9c0d83b8dce11a2b6d8a4831' (2021-11-09)
  → 'github:nix-community/emacs-overlay/eb32d1f3d2275af9466a0a036b4a03d7b80f8deb' (2021-11-12)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/e74894146a42ba552ebafa19ab2d1df7ccbc1738' (2021-11-08)
  → 'github:NixOS/nixpkgs/9e86f5f7a19db6da2445f07bafa6694b556f9c6d' (2021-11-10)
• Updated input 'nixpkgs-unstable':
    'github:NixOS/nixpkgs/c935f5e0add2cf0ae650d072c8357533e21b0c35' (2021-11-07)
  → 'github:NixOS/nixpkgs/c5ed8beb478a8ca035f033f659b60c89500a3034' (2021-11-11)

Signed-off-by: Stefan Ellmauthaler <stefan.ellmauthaler@tu-dresden.de>
2021-11-12 12:46:37 +01:00
2021-11-09 15:05:15 +01:00
2021-11-09 21:02:26 +01:00
2021-11-09 21:02:26 +01:00
2021-11-12 12:46:37 +01:00
2021-11-11 17:02:43 +01:00

Nix-configuration

Deploy on a new machine

  • setup the filesystem as you see fit
  • check out repository to /mnt/etc/nixos
  • run nixos-generate-config --root /mnt in /mnt/etc/nixos
  • create machine/<machine-name>/default.nix and add machine specific configuration to it
  • move hardware-configuration.nix to machine/<machine-name>/hardware-configuration.nix
  • add your machine to /mnt/etc/nixos/default.nix
  • stage the machine-folder to the git-repository
  • run
    • nix-shell -p nixFlakes
    • sudo _NIXOS_REBUILD_REEXEC=1 nixos-install --no-root-passwd --flake .#hostname
    • nixos-install --no-root-passwd --flake .#hostname
Description
No description provided
Readme 3.2 MiB
Languages
Nix 79.6%
Emacs Lisp 12.4%
Haskell 4.6%
CSS 3%
Shell 0.4%