nixos-dotfiles/common.nix

33 lines
814 B
Nix
Executable File

{ pkgs, home-manager, unstable, ... }:
{
system.stateVersion = "22.11";
system.autoUpgrade.enable = true;
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
time = {
timeZone = "America/New_York";
hardwareClockInLocalTime = true;
};
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;
nixpkgs.overlays = [
(import "${builtins.fetchTarball { url="https://github.com/vlaci/openconnect-sso/archive/master.tar.gz"; sha256="sha256:04kwar7cxz7399bwlka6raqwq5jd27khkjdxk11k08846bkjckx5"; } }/overlay.nix")
];
}