nix/nixos
genofire c564857aa4 nixos: adjust ssh 2021-10-14 23:02:41 +02:00
..
README.md nixos: cleanup and documentat it 2021-10-09 01:49:34 +02:00
configuration.nix nixos: optimize nix-store 2021-10-13 01:13:27 +02:00
default-hardware.nix nixos: add some default-hardware tools 2021-10-14 16:32:06 +02:00
default.nix nixos: adjust ssh 2021-10-14 23:02:41 +02:00
desktop-sway.nix home->nixos: restructure sway 2021-10-13 00:48:07 +02:00
desktop.nix home->nixos: restructure sway 2021-10-13 00:48:07 +02:00
users.nix home->nixos: restructure sway 2021-10-13 00:48:07 +02:00

README.md

NixOS

Create /etc/nixos/configuration.nix with:

{ config, pkgs, ... }:

{
  imports =
    [
      ./hardware-configuration.nix
      ./repo/default.nix
      ./repo/desktop.nix
      ./repo/genofire.nix
    ];

  system.stateVersion = "21.05";

  # boot
  boot.zfs.requestEncryptionCredentials = []; # list -> default: true - always request for password

  # --------
  # specifical this maschine:
  # --------

  networking.hostId = "6a465f93"; # zfs needed
  networking.hostName = "fireEmerald"; # Define your hostname.
  # cryptsetup
  # boot.initrd.luks.enable = true;
  boot.initrd.luks.devices = {
    "croot" = {
      device = "/dev/disk/by-uuid/e75385e9-b733-49d4-91fd-6ac2fa821195" ;
    };
  };
}

and run nixos-rebuild switch --upgrade