Files
panoptes-nix/configuration.nix
John Lancaster 4e87f3119f WIP flakes
2024-12-07 19:33:13 +00:00

37 lines
865 B
Nix

{ pkgs, modulesPath, ... }:
let
stateVersion = "24.05";
in
{
# system.stateVersion = stateVersion;
# imports = [
# (modulesPath + "/virtualisation/proxmox-lxc.nix")
# ];
# time.timeZone = "America/Chicago";
nix.settings.experimental-features = [ "nix-command" "flakes" ];
environment.systemPackages = with pkgs; [
(pkgs.writeShellScriptBin "nrbs" "sudo nixos-rebuild switch")
(pkgs.writeShellScriptBin "nrbsu" "sudo nix-channel --update && sudo nixos-rebuild switch")
bash
busybox
git
eza
];
# For SSH access
services.openssh.enable = true;
# Networking stuff
services.avahi = { enable = true; nssmdns4 = true; };
# Uses rust-based sudo
security.sudo-rs = {
enable = true;
execWheelOnly = false;
wheelNeedsPassword = false; # allows sudo without password for those in the wheel group
};
}