From 71fa49e4b0a577617fa4bbe8155e1f81e1aed02d Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Thu, 29 Feb 2024 01:32:46 -0800 Subject: Use UTC for hardware clock and open SSH port --- ginaz/configuration.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'ginaz') diff --git a/ginaz/configuration.nix b/ginaz/configuration.nix index 99fdba2..e1d0d4c 100644 --- a/ginaz/configuration.nix +++ b/ginaz/configuration.nix @@ -2,16 +2,13 @@ # your system. Help is available in the configuration.nix(5) man page, on # https://search.nixos.org/options and in the NixOS manual (`nixos-help`). -{ config, lib, pkgs, ... }: - -{ +{ config, lib, pkgs, ... }: { imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix ]; boot.initrd.kernelModules = [ "amdgpu" "zfs" ]; - #boot.initrd.postDeviceCommands = ''zpool import -lf rpool''; boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages; boot.loader.efi.canTouchEfiVariables = true; boot.loader.generationsDir.copyKernels = true; @@ -222,6 +219,7 @@ services.blueman.enable = true; services.openssh = { enable = true; + openFirewall = true; settings.PasswordAuthentication = false; settings.KbdInteractiveAuthentication = false; settings.PermitRootLogin = "yes"; @@ -275,6 +273,7 @@ }; }; + time.hardwareClockInLocalTime = true; time.timeZone = "America/Los_Angeles"; users.groups.nipsy.gid = 1000; -- cgit v1.2.3