nixos-dotfiles/common.nix

35 lines
857 B
Nix
Raw Normal View History

{ pkgs, home-manager, unstable, ... }:
{
2023-02-01 03:19:31 +00:00
system.stateVersion = "22.11";
system.autoUpgrade.enable = true;
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
2022-10-04 19:13:47 +00:00
time = {
timeZone = "America/New_York";
hardwareClockInLocalTime = true;
};
i18n.defaultLocale = "en_US.UTF-8";
nix.extraOptions = ''
experimental-features = nix-command flakes
'';
2023-02-01 03:19:31 +00:00
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")
];
2023-03-09 17:37:12 +00:00
boot.supportedFilesystems = [ "ntfs" ];
}