xin/configs/nix.nix

24 lines
547 B
Nix
Raw Normal View History

2024-05-12 14:34:00 -06:00
{ pkgs, inputs, lib, ... }:
{
2024-05-12 14:34:00 -06:00
nix =
let myPkgs = inputs.unstableSmall.legacyPackages.${pkgs.system};
in {
2024-09-10 07:16:04 -06:00
package = myPkgs.lix;
2024-05-24 13:02:46 -06:00
gc = lib.mkDefault {
2024-05-12 14:34:00 -06:00
automatic = true;
dates = "daily";
options = "--delete-older-than 10d";
};
2022-08-25 12:21:35 -06:00
2024-05-12 14:34:00 -06:00
extraOptions = ''
experimental-features = nix-command flakes
'';
settings.auto-optimise-store = true;
settings = {
sandbox = true;
trusted-users = [ "@wheel" ];
allowed-users = [ "root" "qbit" ];
};
};
}