nixos-dotfiles/common.nix

42 lines
1.0 KiB
Nix

{ pkgs, home-manager, unstable, ... }:
{
system.stateVersion = "23.11";
system.autoUpgrade.enable = true;
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
time = {
timeZone = "America/New_York";
hardwareClockInLocalTime = false;
};
systemd.services.NetworkManager-wait-online.enable = pkgs.lib.mkForce false;
i18n.defaultLocale = "en_US.UTF-8";
nix.extraOptions = ''
experimental-features = nix-command flakes
'';
age.identityPaths = [
"/root/.ssh/secrets_sshkey"
];
age.secrets.serverwg-priv.file = ./secrets/serverwg-priv.age;
age.secrets.vpnboxwg-priv.file = ./secrets/vpnboxwg-priv.age;
# age.secrets.lab-ip.file = ./secrets/lab-ip.age;
# nixpkgs.overlays = [
# (import "${builtins.fetchTarball { url="https://github.com/vlaci/openconnect-sso/archive/master.tar.gz"; sha256="sha256:04kwar7cxz7399bwlka6raqwq5jd27khkjdxk11k08846bkjckx5"; } }/overlay.nix")
# ];
boot.supportedFilesystems = [ "ntfs" ];
imports = [
./options.nix
];
}