nixcfg/common/base.nix
Aly Raffauf c2b38cb823
Some checks are pending
nix-build / adjustor-build (push) Waiting to run
nix-build / clean-install-build (push) Waiting to run
nix-build / hhd-ui-build (push) Waiting to run
nix-build / rofi-bluetooth-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-build / slateport-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
base: set $FLAKE to release-24.11 branch
2024-11-23 19:56:59 -05:00

44 lines
827 B
Nix

{lib, ...}: {
boot.loader.systemd-boot.configurationLimit = lib.mkDefault 10;
environment.variables.FLAKE = lib.mkDefault "github:alyraffauf/nixcfg/release-24.11";
programs = {
dconf.enable = true; # Needed for home-manager
gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
nh.enable = true;
};
networking.networkmanager.enable = true;
security = {
polkit.enable = true;
rtkit.enable = true;
};
services = {
avahi = {
enable = true;
nssmdns4 = true;
openFirewall = true;
publish = {
enable = true;
addresses = true;
userServices = true;
workstation = true;
};
};
openssh = {
enable = true;
openFirewall = true;
settings.PasswordAuthentication = false;
};
};
}