From 64e3cefe0841d785008a98279d84eb56c4246f7e Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Thu, 4 May 2023 10:57:14 -0500 Subject: [PATCH] WIP --- hosts/algiz/configuration.nix | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/hosts/algiz/configuration.nix b/hosts/algiz/configuration.nix index 513580f..ccca779 100644 --- a/hosts/algiz/configuration.nix +++ b/hosts/algiz/configuration.nix @@ -5,8 +5,13 @@ ./hardware-configuration.nix ]; security.sudo.wheelNeedsPassword = false; - users.defaultUserShell = pkgs.zsh; + nix.package = pkgs.nixUnstable; + nix.extraOptions = '' + experimental-features = nix-command flakes + ''; + + users.defaultUserShell = pkgs.zsh; users.extraUsers = { daylin = { isNormalUser = true; @@ -35,6 +40,12 @@ }; networking.hostName = "algiz"; + + # added to make using `pip install` work in docker build + networking.nameservers = [ + "8.8.8.8" + ]; + time.timeZone = "America/Chicago"; programs.zsh.enable = true; virtualisation.docker.enable = true; @@ -104,10 +115,9 @@ }; # Enable the OpenSSH daemon. - services.openssh = { - enable = true; - settings.passwordAuthentication = false; - }; + services.openssh.enable = true; + services.openssh.settings.passwordAuthentication = false; + users.mutableUsers = false; # This value determines the NixOS release from which the default