refactor: update plymouth, remove some useless code

This commit is contained in:
matt1432 2023-12-30 00:06:27 -05:00
parent ebd34a9481
commit 4a85e1c402
7 changed files with 33 additions and 33 deletions

View file

@ -5,6 +5,7 @@
pkgs,
...
}: {
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
imports = [(modulesPath + "/installer/scan/not-detected.nix")];
boot = {
@ -71,6 +72,4 @@
qemu
virtiofsd
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}

View file

@ -6,8 +6,10 @@
nixpkgs.hostPlatform = "x86_64-linux";
imports = [(modulesPath + "/installer/scan/not-detected.nix")];
services.logind.lidSwitchExternalPower = "ignore";
services.logind.lidSwitchDocked = "ignore";
services.logind = {
lidSwitchDocked = "ignore";
lidSwitchExternalPower = "ignore";
};
boot = {
loader = {

View file

@ -1,6 +1,7 @@
{config, ...}: let
servivi = "100.64.0.7";
in {
# https://nixos.wiki/wiki/Distributed_build
home-manager.users.root = {
home.file.".ssh/config".text = ''
Host ${servivi}
@ -17,20 +18,22 @@ in {
${servivi}.publicKey = "servivi ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMkNW0H4Fl6NFgahlgGbSvglg1DrX4yl1ht9Lp+vHE2A";
};
nix.buildMachines = [
{
hostName = servivi;
system = "x86_64-linux";
protocol = "ssh-ng";
maxJobs = 1;
speedFactor = 2;
supportedFeatures = ["nixos-test" "benchmark" "big-parallel" "kvm"];
mandatoryFeatures = [];
}
];
nix.distributedBuilds = true;
# optional, useful when the builder has a faster internet connection than yours
nix.extraOptions = ''
builders-use-substitutes = true
'';
nix = {
buildMachines = [
{
hostName = servivi;
system = "x86_64-linux";
protocol = "ssh-ng";
maxJobs = 1;
speedFactor = 2;
supportedFeatures = ["nixos-test" "benchmark" "big-parallel" "kvm"];
mandatoryFeatures = [];
}
];
distributedBuilds = true;
# optional, useful when the builder has a faster internet connection than yours
extraOptions = ''
builders-use-substitutes = true
'';
};
}

View file

@ -31,6 +31,7 @@
];
};
# https://nixos.wiki/wiki/Distributed_build
nixremote = {
isNormalUser = true;
createHome = true;

View file

@ -15,16 +15,7 @@
acpi_call
];
kernelParams = [
"cryptdevice=UUID=ab82b477-2477-453f-b95f-28e5553ad10d:root"
"root=/dev/mapper/root"
];
consoleLogLevel = 0;
initrd = {
verbose = false;
systemd.enable = true;
availableKernelModules = ["nvme" "xhci_pci" "usb_storage" "sd_mod"];
luks.devices."root" = {