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,
|
config,
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
pkgs-plasma-beta,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -15,11 +16,33 @@
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
nix.settings.experimental-features = [
|
nixpkgs.overlays = [
|
||||||
"nix-command"
|
(self: super: {
|
||||||
"flakes"
|
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 = {
|
boot = {
|
||||||
loader = {
|
loader = {
|
||||||
# Use the systemd-boot EFI boot loader.
|
# Use the systemd-boot EFI boot loader.
|
||||||
|
@ -31,6 +54,10 @@
|
||||||
kernelPackages = pkgs.linuxPackages_latest;
|
kernelPackages = pkgs.linuxPackages_latest;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fileSystems."/".options = [
|
||||||
|
"compress=zstd"
|
||||||
|
];
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "chromatic-aberration";
|
hostName = "chromatic-aberration";
|
||||||
networkmanager.enable = true;
|
networkmanager.enable = true;
|
||||||
|
|
19
flake.lock
generated
19
flake.lock
generated
|
@ -16,9 +16,26 @@
|
||||||
"type": "github"
|
"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": {
|
"root": {
|
||||||
"inputs": {
|
"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
|
# i.e. nixos-24.11
|
||||||
# Use `nix flake update` to update the flake to the latest revision of the chosen release channel.
|
# 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.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
|
nixpkgs-plasma-beta.url = "github:K900/nixpkgs/plasma-6.5";
|
||||||
};
|
};
|
||||||
outputs =
|
outputs =
|
||||||
inputs@{ self, nixpkgs, ... }:
|
inputs@{
|
||||||
|
self,
|
||||||
|
nixpkgs,
|
||||||
|
nixpkgs-plasma-beta,
|
||||||
|
...
|
||||||
|
}:
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
pkgs = import nixpkgs { inherit system; };
|
pkgs = import nixpkgs { inherit system; };
|
||||||
|
pkgs-plasma-beta = import nixpkgs-plasma-beta { inherit system; };
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
nixosConfigurations.chromatic-aberration = nixpkgs.lib.nixosSystem {
|
nixosConfigurations.chromatic-aberration = nixpkgs.lib.nixosSystem {
|
||||||
modules = [ ./configuration.nix ];
|
modules = [ ./configuration.nix ];
|
||||||
|
specialArgs.pkgs-plasma-beta = pkgs-plasma-beta;
|
||||||
};
|
};
|
||||||
formatter.${system} = pkgs.nixfmt-tree;
|
formatter.${system} = pkgs.nixfmt-tree;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue