Files
sydnix/modules/nixos/defaults/nixpkgs.nix
Madeleine Sydney Ślaga 0ea963c879 chore: Fix tree-wide permissions
No idea why everything was executable, lol.
2025-09-08 06:08:20 -06:00

21 lines
369 B
Nix

{ config, lib, pkgs, ... }:
with lib;
let cfg = config.sydnix.defaults.nixpkgs;
in {
options = {
sydnix.defaults.nixpkgs = {
enable = mkOption {
description = "Madeleine's default Nixpkgs settings";
default = true;
type = types.bool;
};
};
};
config = mkIf cfg.enable {
nixpkgs.config.allowUnfree = true;
};
}