24 lines
649 B
Nix
24 lines
649 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
imports = [ ./hardware-configuration.nix ../../configuration-desktop.nix ];
|
|
|
|
boot.initrd.supportedFilesystems = [ "zfs" ];
|
|
boot.initrd.systemd.enable = true;
|
|
services.zfs.autoScrub.enable = true;
|
|
services.zfs.trim.enable = true;
|
|
# fstrim is also enabled by nixos-hardware, but only runs for /boot
|
|
|
|
networking.hostName = "daisy";
|
|
networking.hostId = "293a1290";
|
|
|
|
# Set your time zone.
|
|
time.timeZone = "America/Phoenix";
|
|
|
|
# Open ports in the firewall.
|
|
networking.firewall.allowedTCPPorts = [ 22 80 443 1337 ];
|
|
networking.firewall.allowedUDPPorts = [ 1337 ];
|
|
|
|
system.stateVersion = "24.11";
|
|
}
|