infra/nix/os/profiles/common/configuration.nix

41 lines
720 B
Nix
Raw Permalink Normal View History

2024-02-08 20:53:22 +01:00
{
config,
pkgs,
repoFlake,
...
2024-11-15 10:17:56 +01:00
}:
{
imports = [
repoFlake.inputs.sops-nix.nixosModules.sops
2023-12-01 21:00:17 +01:00
../../snippets/nix-settings.nix
../../snippets/home-manager-with-zsh.nix
./system.nix
./hw.nix
./user.nix
];
boot.kernelPackages = pkgs.linuxPackages;
boot.loader.grub = {
enable = true;
efiSupport = true;
efiInstallAsRemovable = false;
};
boot.loader.systemd-boot.enable = false;
boot.loader.efi.canTouchEfiVariables = true;
boot.tmp.useTmpfs = true;
# Workaround for nm-pptp to enforce module load
2024-11-15 10:17:56 +01:00
boot.kernelModules = [
"nf_conntrack_proto_gre"
"nf_conntrack_pptp"
];
nixpkgs.config = {
allowBroken = false;
allowUnfree = true;
};
}