Switched nix-cachyos-kernel to npins. Jail.nix overlay added. Linting and quality improvement

This commit is contained in:
boyreau 2026-06-22 22:11:24 +02:00
commit 0cbf2ce343
12 changed files with 342 additions and 11 deletions

View file

@ -1,9 +1,28 @@
{
config,
pkgs,
...
}:
let
sources = import ./npins/default.nix;
jail-nix = import sources."jail.nix" { };
jailOverlay =
final: prev:
jail-nix.mkOverlay {
inherit final prev;
packages =
combinators: with combinators; {
firefox = [
network
gui
gpu
];
};
};
pkgs = import sources.nixpkgs {
overlays = [ jailOverlay ];
};
in
{
imports = [
./security.nix
@ -92,6 +111,11 @@
font-awesome
];
nix.settings.substituters = [ "https://nix-community.cachix.org" ];
nix.settings.trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
system.copySystemConfiguration = true;
system.stateVersion = "26.05"; # Not here to update, here for data models backward compatibility. Don't change.