my system configurations ^-^
1{
2 config,
3 self,
4 ...
5}: let
6 inherit (config.settings.system) user;
7 inherit (self) outputs;
8in {
9 imports = [
10 ./age.nix
11 ];
12
13 nix.settings = {
14 experimental-features = ["nix-command" "flakes"];
15 warn-dirty = false;
16 keep-going = true;
17 allowed-users = [user.name];
18 trusted-users = ["root" user.name];
19
20 # cachix
21 extra-substituters = ["https://nix-community.cachix.org"];
22 extra-trusted-public-keys = ["nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="];
23 };
24
25 nixpkgs = {
26 overlays = [outputs.overlays.additions];
27
28 config = {
29 permittedInsecurePackages = [
30 "electron-27.3.11"
31 "python3.12-django-3.1.14"
32 ];
33 allowUnfree = true;
34 };
35 };
36}