1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2024-12-29 02:43:53 +00:00
ultima/modules/nixos/misc/nix.nix

40 lines
681 B
Nix
Raw Permalink Normal View History

{
x,
pkgs,
lib,
...
}:
with lib;
with x;
{
2024-12-06 12:57:22 +00:00
nix = {
package = pkgs.nix;
settings = {
warn-dirty = false;
experimental-features = [
"nix-command"
"flakes"
];
trusted-users = [
"${userName}"
"@wheel"
];
2024-12-06 12:57:22 +00:00
substituters = [
"https://hyprland.cachix.org" # HYPRLAND
];
trusted-public-keys = [
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" # HYPRLAND
];
2024-11-21 09:24:15 +00:00
};
2024-12-06 12:57:22 +00:00
};
nixpkgs = {
hostPlatform = mkDefault plfrm;
config = {
# NIXPKGS SETS
2024-12-06 12:57:22 +00:00
allowBroken = true;
allowUnfree = true;
2024-11-21 09:24:15 +00:00
};
};
system.stateVersion = ver;
2024-11-21 09:24:15 +00:00
}