Serenity/modules/core/packages/default.nix

52 lines
832 B
Nix

{ self, pkgs, lib, inputs, ... }:
{
import = [
./packages.nix
];
nix = {
settings = {
cores = 0;
auto-optimise-store = true;
allowed-users = [
"@wheel"
];
experimental-features = [
"nix-command"
"flakes"
];
};
# gc = {
# automatic = true;
# };
};
nixpkgs = {
overlays = [
self.overlays.default
inputs.nur.overlay
];
config = {
allowUnfree = true;
permittedInsecurePackages = [
"schildichat-web-1.11.30-sc.2"
"electron-25.9.0"
# "nix-2.15.3"
]
};
};
environment.variables = {
NIXOS_OZONE_WL = "1";
NIXPKGS_ALLOW_UNFREE = "1";
PATH = [
"\${HOME}/.local/bin"
"\${HOME}/.config/rofi/scripts"
];
};
system.stateVersion = "23.11";
}