Remote builds using boss-baby, Plasma beta, enable btrfs zstd compression
This commit is contained in:
parent
7c52d6e55c
commit
6d16429319
3 changed files with 57 additions and 5 deletions
|
@ -6,6 +6,7 @@
|
|||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
pkgs-plasma-beta,
|
||||
...
|
||||
}:
|
||||
|
||||
|
@ -15,11 +16,33 @@
|
|||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
nix.settings.experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
nixpkgs.overlays = [
|
||||
(self: super: {
|
||||
kdePackages = pkgs-plasma-beta.kdePackages;
|
||||
})
|
||||
];
|
||||
|
||||
nix = {
|
||||
settings = {
|
||||
experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
builders-use-substitutes = true;
|
||||
max-jobs = 0;
|
||||
};
|
||||
distributedBuilds = true;
|
||||
buildMachines = [
|
||||
{
|
||||
hostName = "boss-baby";
|
||||
sshUser = "root";
|
||||
protocol = "ssh-ng";
|
||||
system = pkgs.stdenv.hostPlatform.system;
|
||||
maxJobs = 4;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
boot = {
|
||||
loader = {
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
|
@ -31,6 +54,10 @@
|
|||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
};
|
||||
|
||||
fileSystems."/".options = [
|
||||
"compress=zstd"
|
||||
];
|
||||
|
||||
networking = {
|
||||
hostName = "chromatic-aberration";
|
||||
networkmanager.enable = true;
|
||||
|
|
19
flake.lock
generated
19
flake.lock
generated
|
@ -16,9 +16,26 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs-plasma-beta": {
|
||||
"locked": {
|
||||
"lastModified": 1758387133,
|
||||
"narHash": "sha256-Jr/ncxq/IaLkTsTvsqtYFIG5Qe3z8iLqoNKA66PnNas=",
|
||||
"owner": "K900",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "34c691bb97106f5236160b1a163025fcc78f6670",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "K900",
|
||||
"ref": "plasma-6.5",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs"
|
||||
"nixpkgs": "nixpkgs",
|
||||
"nixpkgs-plasma-beta": "nixpkgs-plasma-beta"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
10
flake.nix
10
flake.nix
|
@ -5,16 +5,24 @@
|
|||
# i.e. nixos-24.11
|
||||
# Use `nix flake update` to update the flake to the latest revision of the chosen release channel.
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
nixpkgs-plasma-beta.url = "github:K900/nixpkgs/plasma-6.5";
|
||||
};
|
||||
outputs =
|
||||
inputs@{ self, nixpkgs, ... }:
|
||||
inputs@{
|
||||
self,
|
||||
nixpkgs,
|
||||
nixpkgs-plasma-beta,
|
||||
...
|
||||
}:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
pkgs-plasma-beta = import nixpkgs-plasma-beta { inherit system; };
|
||||
in
|
||||
{
|
||||
nixosConfigurations.chromatic-aberration = nixpkgs.lib.nixosSystem {
|
||||
modules = [ ./configuration.nix ];
|
||||
specialArgs.pkgs-plasma-beta = pkgs-plasma-beta;
|
||||
};
|
||||
formatter.${system} = pkgs.nixfmt-tree;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue