1
0
mirror of https://github.com/ellmau/nixos.git synced 2025-12-19 09:29:36 +01:00
Stefan Ellmauthaler de634db0b2
Bump flake
• 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)
2022-05-23 14:08:47 +02:00
2022-05-02 09:43:01 +02:00
2022-03-30 14:23:52 +02:00
2022-03-30 14:23:52 +02:00
2022-05-17 20:27:25 +02:00
2022-05-17 20:27:25 +02:00
2022-05-05 16:35:28 +02:00
2022-05-23 14:08:47 +02:00
2022-05-05 16:19:30 +02: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%