Compare commits

..

No commits in common. "07b4cf92736536a80e79326ed7739b00c024ecfd" and "1a8e0c9a1da5548296168a4d300751acc1e44d8e" have entirely different histories.

5 changed files with 21 additions and 58 deletions

29
flake.lock generated
View file

@ -164,11 +164,11 @@
]
},
"locked": {
"lastModified": 1731721802,
"narHash": "sha256-bdzCCvI3spAsAhWOt8NUrnyVSXI0DBTf7ZAGxJq05pk=",
"lastModified": 1731375802,
"narHash": "sha256-CvWPEzrl2EA3xrtg9X6K8aqV7T5r0SaDz6PLpGA0yIY=",
"owner": "Infinidoge",
"repo": "nix-minecraft",
"rev": "b169b926e312ac0ea61367a191014a9d6e2114e8",
"rev": "b873a123366b9a62f9262414ada8d83b03f1f0bf",
"type": "github"
},
"original": {
@ -177,29 +177,13 @@
"type": "github"
}
},
"nixos-hardware": {
"locked": {
"lastModified": 1731403644,
"narHash": "sha256-T9V7CTucjRZ4Qc6pUEV/kpgNGzQbHWfGcfK6JJLfUeI=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "f6581f1c3b137086e42a08a906bdada63045f991",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "master",
"repo": "nixos-hardware",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1731319897,
"narHash": "sha256-PbABj4tnbWFMfBp6OcUK5iGy1QY+/Z96ZcLpooIbuEI=",
"lastModified": 1731139594,
"narHash": "sha256-IigrKK3vYRpUu+HEjPL/phrfh7Ox881er1UEsZvw9Q4=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "dc460ec76cbff0e66e269457d7b728432263166c",
"rev": "76612b17c0ce71689921ca12d9ffdc9c23ce40b2",
"type": "github"
},
"original": {
@ -229,7 +213,6 @@
"inputs": {
"lix-module": "lix-module",
"nix-minecraft": "nix-minecraft",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs",
"snowfall-lib": "snowfall-lib",
"sops-nix": "sops-nix"

View file

@ -1,7 +1,6 @@
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
snowfall-lib.url = "github:snowfallorg/lib";
snowfall-lib.inputs.nixpkgs.follows = "nixpkgs";
sops-nix.url = "github:Mic92/sops-nix";
@ -24,10 +23,6 @@
};
nix.optimise.automatic = true;
# Modules for Host HyperC
systems.hosts.HyperC.modules = with inputs; [
];
# Modules for Host voloxo
systems.hosts.voloxo.modules = with inputs; [
];

View file

@ -24,31 +24,6 @@
"steam-unwrapped"
];
# Configure Remote Builds
nix.settings.trusted-public-keys = [
"cache.kb-games-01:Y9lGS9lw+grILNY+Mmw498mMoBQcYE+OqTpOHBAOajw="
];
nix.distributedBuilds = true;
nix.buildMachines = [
{
hostName = "kb-games-01-remotebuild";
system = "x86_64-linux";
maxJobs = 4;
speedFactor = 2;
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
mandatoryFeatures = [ "big-parallel" ];
}
{
hostName = "voloxo-remotebuild";
system = "x86_64-linux";
maxJobs = 6;
speedFactor = 6;
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
mandatoryFeatures = [ "big-parallel" ];
}
];
# services.tlp.enable = true;
powerManagement.cpufreq.max = 3500000;
# powerManagement.cpufreq.min = 400000;
@ -253,13 +228,21 @@
services.transmission.settings = {
download-dir = "${config.services.transmission.home}/Torrents";
};
# Enable the OpenSSH daemon.
# services.openssh.enable = true;
services.nix-serve = {
enable = true;
secretKeyFile = "/var/cache-HyperC-priv-key.pem";
};
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether.
# networking.firewall.enable = false;
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "24.05"; # Did you read the comment?
}

View file

@ -7,6 +7,7 @@
# Configure Nix
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nix.settings.trusted-users = [ "remotebuild" ]; # UNSAVE, Remove ASAP
nix.settings.trusted-public-keys = [
"cache.HyperC:90YNJ0eWsuBGVVP989lJh1rL8C0KM6IKbAtEUiu+FCU="
];

View file

@ -14,6 +14,7 @@
"electron-27.3.11"
"olm-3.2.16"
];
nix.settings.trusted-users = [ "remotebuild" ]; # UNSAVE, Remove ASAP
nix.settings.trusted-public-keys = [
"cache.HyperC:90YNJ0eWsuBGVVP989lJh1rL8C0KM6IKbAtEUiu+FCU="
];