This commit is contained in:
Daylin Morgan 2023-05-04 10:57:14 -05:00
parent 2072296ae5
commit 64e3cefe08
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F

View file

@ -5,8 +5,13 @@
./hardware-configuration.nix ./hardware-configuration.nix
]; ];
security.sudo.wheelNeedsPassword = false; 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 = { users.extraUsers = {
daylin = { daylin = {
isNormalUser = true; isNormalUser = true;
@ -35,6 +40,12 @@
}; };
networking.hostName = "algiz"; networking.hostName = "algiz";
# added to make using `pip install` work in docker build
networking.nameservers = [
"8.8.8.8"
];
time.timeZone = "America/Chicago"; time.timeZone = "America/Chicago";
programs.zsh.enable = true; programs.zsh.enable = true;
virtualisation.docker.enable = true; virtualisation.docker.enable = true;
@ -104,10 +115,9 @@
}; };
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.
services.openssh = { services.openssh.enable = true;
enable = true; services.openssh.settings.passwordAuthentication = false;
settings.passwordAuthentication = false;
};
users.mutableUsers = false; users.mutableUsers = false;
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default