Fix: use nixpkgs.lib.nixosSystem; add minimal config
This commit is contained in:
@ -1 +1,26 @@
|
||||
# placeholder
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [ ./hardware ]; # bindet die auto-generierte HW-Datei ein
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
networking.hostName = "nix-nas";
|
||||
|
||||
users.users.nicole = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" "docker" "libvirtd" ];
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGAsiKDWCwyf1usprg3K6Zk0xE9S4DX6+Bc4+nIOZGmf drezil@Manticore"
|
||||
];
|
||||
};
|
||||
|
||||
services.openssh.enable = true;
|
||||
services.zfs.autoScrub.enable = true; # Snapshots & Details kommen später
|
||||
|
||||
# Wir pinnen den Kernel, bis ZFS 2.3.x für 6.13 bereit ist
|
||||
boot.kernelPackages = pkgs.linuxPackages_6_12;
|
||||
|
||||
environment.systemPackages = with pkgs; [ git vim ];
|
||||
}
|
||||
|
Reference in New Issue
Block a user