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/dcbb707a85372909622b094eb193c4fb7a83a3a1' (2022-05-17)
→ 'github:nix-community/emacs-overlay/cd6fbfa22bfd96967231515843fbdef3bda7966f' (2022-05-23)
• Updated input 'emacs-overlay/nixpkgs':
'path:/nix/store/qakkvy6mm6vilawr284f8qwcz21wfl4d-source?lastModified=1652020977&narHash=sha256-9hDlNbrxzD%2fpLlXmoQ6gzxbYiSAKrj7uHYUWNByLFlI=&rev=3c5ae9be1f18c790ea890ef8decbd0946c0b4c04' (2022-05-08)
→ 'path:/nix/store/fn03py5wi8d94hqg6m9wvs4672dqxzls-source?lastModified=1652559422&narHash=sha256-jPVTNImBTUIFdtur+d4IVot6eXmsvtOcBm0TzxmhWPk=&rev=8b3398bc7587ebb79f93dfeea1b8c574d3c6dba1' (2022-05-14)
• Updated input 'nixos-hardware':
'github:NixOS/nixos-hardware/6b4ebea9093c997c5f275c820e679108de4871ab' (2022-04-21)
→ 'github:NixOS/nixos-hardware/8b5e1bf2fd62adefff05ae67cd49440be93ea193' (2022-05-21)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/8b3398bc7587ebb79f93dfeea1b8c574d3c6dba1' (2022-05-14)
→ 'github:NixOS/nixpkgs/cbd40c72b2603ab54e7208f99f9b35fc158bc009' (2022-05-20)
• Updated input 'nixpkgs-unstable':
'github:NixOS/nixpkgs/1d7db1b9e4cf1ee075a9f52e5c36f7b9f4207502' (2022-05-16)
→ 'github:NixOS/nixpkgs/dfd82985c273aac6eced03625f454b334daae2e8' (2022-05-20)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/9681f04fa3b6af5b7eff6b086e46aee2cc2bdde2' (2022-05-15)
→ 'github:Mic92/sops-nix/13079f98ddfdc9e06e4b688332626ca954c14264' (2022-05-22)
• Updated input 'sops-nix/nixpkgs-21_11':
'github:NixOS/nixpkgs/8b3398bc7587ebb79f93dfeea1b8c574d3c6dba1' (2022-05-14)
→ 'github:NixOS/nixpkgs/b5991e4971523a5fcc9413b9003b58e5c15aa7d8' (2022-05-21)
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%