dotfiles/systems/x86_64-linux/node/default.nix
Alejandro Angulo 58efac7f13
Configured remote deployments
Also includes some misc fixes for bugs I ran into along the way.
2023-05-11 17:32:58 -07:00

51 lines
1.4 KiB
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
config,
pkgs,
...
}: {
imports = [
./hardware-configuration.nix
./zfs.nix
];
aa = {
nix.enable = true;
nix.useSelfhostedCache = true;
services.openssh.enable = true;
system.zfs.enable = true;
system.monitoring.enable = true;
suites.utils.enable = true;
tools.zsh.enable = true;
tools.gpg.enable = true;
apps.yubikey.enable = true;
};
security.pam.enableSSHAgentAuth = true;
security.pam.services.${config.aa.user.name}.sshAgentAuth = true;
boot.loader.systemd-boot.enable = true;
security.sudo = {
wheelNeedsPassword = false;
execWheelOnly = true;
};
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
wget
];
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "22.11"; # Did you read the comment?
}