1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-01-19 22:33:54 +00:00
ultima/modules/nixos/misc/nix.nix

28 lines
626 B
Nix
Raw 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" ];
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;
2024-12-06 12:57:22 +00:00
config = { # NIXPKGS SETS
allowBroken = true;
allowUnfree = true;
2024-11-21 09:24:15 +00:00
};
};
system.stateVersion = stVer;
2024-11-21 09:24:15 +00:00
}