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

40 lines
754 B
Nix
Raw Normal View History

2024-02-08 20:53:22 +01:00
{
config,
pkgs,
repoFlake,
nodeFlake,
repoFlakeInputs',
packages',
...
}: {
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-02-08 20:53:22 +01:00
boot.kernelModules = ["nf_conntrack_proto_gre" "nf_conntrack_pptp"];
nixpkgs.config = {
allowBroken = false;
allowUnfree = true;
};
}