mirror of
https://github.com/ellmau/nixos.git
synced 2025-12-19 09:29:36 +01:00
• 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>
NIX changed configuration.nix to baseconfiguration.nix (to provide easier deployment on new systems)
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 /mntin/mnt/etc/nixos - create
machine/<machine-name>/default.nixand add machine specific configuration to it - move
hardware-configuration.nixtomachine/<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 nixFlakessudo _NIXOS_REBUILD_REEXEC=1 nixos-install --no-root-passwd --flake .#hostnamenixos-install --no-root-passwd --flake .#hostname
Description
Languages
Nix
79.6%
Emacs Lisp
12.4%
Haskell
4.6%
CSS
3%
Shell
0.4%