1
0
mirror of https://github.com/ellmau/nixos.git synced 2025-12-19 09:29:36 +01:00
Stefan Ellmauthaler 3840d27dbd
Bump flake
• Updated input 'emacs-overlay':
     → 'github:nix-community/emacs-overlay/24a75cb77b9f7204a265528ff2d154d2299d907a' (2022-04-19)
• Updated input 'home-manager':
     → 'github:nix-community/home-manager/7244c6715cb8f741f3b3e1220a9279e97b2ed8f5' (2022-04-13)
• Updated input 'nixos-hardware':
     → 'github:NixOS/nixos-hardware/1a0ccdbf4583ed0fce37eea7955e8ef90f840a9f' (2022-04-13)
• Updated input 'nixpkgs':
     → 'github:NixOS/nixpkgs/7b38b03d76ab71bdc8dc325e3f6338d984cc35ca' (2022-04-18)
• Updated input 'nixpkgs-unstable':
     → 'github:NixOS/nixpkgs/1ffba9f2f683063c2b14c9f4d12c55ad5f4ed887' (2022-04-17)
• Updated input 'sops-nix':
     → 'github:Mic92/sops-nix/c2614c4fe61943b3d280ac1892fcebe6e8eaf8c8' (2022-04-12)
2022-04-19 16:16:50 +02:00
2022-03-30 14:23:52 +02:00
2022-03-30 14:23:52 +02:00
2022-03-28 09:52:18 +02:00
2022-03-30 14:23:52 +02:00
2022-03-30 14:23:52 +02:00
2022-01-28 12:55:34 +01:00
2022-03-30 14:23:52 +02:00
2022-04-19 16:16:50 +02:00
2022-03-30 14:23:52 +02:00
2022-01-11 11:31:16 +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%