mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 01:53:15 -06:00
43 lines
949 B
Nix
43 lines
949 B
Nix
{
|
|
input,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
imports = [
|
|
./styx
|
|
];
|
|
nixpkgs.config.allowUnfree = true;
|
|
nix.package = pkgs.nixUnstable;
|
|
nix.extraOptions = ''
|
|
experimental-features = nix-command flakes
|
|
'';
|
|
|
|
nix.optimise.automatic = true;
|
|
nix.gc = {
|
|
automatic = true;
|
|
dates = "weekly";
|
|
options = "--delete-older-than 7d";
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
nix-output-monitor
|
|
alejandra
|
|
];
|
|
|
|
nix.settings = {
|
|
trusted-users = ["@wheel"];
|
|
accept-flake-config = true;
|
|
|
|
# nixConfig = {
|
|
substituters = [
|
|
"https://hyprland.cachix.org"
|
|
"https://nixpkgs-wayland.cachix.org"
|
|
"https://daylin.cachix.org"
|
|
];
|
|
trusted-public-keys = [
|
|
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
|
"nixpkgs-wayland.cachix.org-1:3lwxaILxMRkVhehr5StQprHdEo4IrE8sRho9R9HOLYA="
|
|
"daylin.cachix.org-1:fLdSnbhKjtOVea6H9KqXeir+PyhO+sDSPhEW66ClE/k="
|
|
];
|
|
};
|
|
}
|