use plymouth for boot screen

This commit is contained in:
2026-03-14 16:33:42 +01:00
parent e58d5a7a18
commit fd8cb9c0c8
6 changed files with 18 additions and 35 deletions

View File

@@ -6,6 +6,7 @@
./modules/boot/bootloader.nix ./modules/boot/bootloader.nix
./modules/boot/kernel.nix ./modules/boot/kernel.nix
./modules/boot/plymouth.nix
./modules/boot/tpm.nix ./modules/boot/tpm.nix
./modules/desktop/fonts.nix ./modules/desktop/fonts.nix

36
nixos/flake.lock generated
View File

@@ -1,39 +1,6 @@
{ {
"nodes": { "nodes": {
"home-manager": {
"inputs": {
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1773093840,
"narHash": "sha256-u/96NoAyN8BSRuM3ZimGf7vyYgXa3pLx4MYWjokuoH4=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "bb014746edb2a98d975abde4dd40fa240de4cf86",
"type": "github"
},
"original": {
"id": "home-manager",
"type": "indirect"
}
},
"nixpkgs": { "nixpkgs": {
"locked": {
"lastModified": 1772773019,
"narHash": "sha256-E1bxHxNKfDoQUuvriG71+f+s/NT0qWkImXsYZNFFfCs=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "aca4d95fce4914b3892661bcb80b8087293536c6",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1772963539, "lastModified": 1772963539,
"narHash": "sha256-9jVDGZnvCckTGdYT53d/EfznygLskyLQXYwJLKMPsZs=", "narHash": "sha256-9jVDGZnvCckTGdYT53d/EfznygLskyLQXYwJLKMPsZs=",
@@ -51,8 +18,7 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"home-manager": "home-manager", "nixpkgs": "nixpkgs"
"nixpkgs": "nixpkgs_2"
} }
} }
}, },

View File

@@ -4,4 +4,8 @@
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
boot.resumeDevice = "/dev/mapper/luksroot"; boot.resumeDevice = "/dev/mapper/luksroot";
boot.consoleLogLevel = 3;
boot.initrd.systemd.enable = true;
boot.initrd.verbose = false;
boot.loader.timeout = 0;
} }

View File

@@ -20,6 +20,9 @@
# GPU # GPU
"amdgpu.gpu_recovery=1" "amdgpu.gpu_recovery=1"
"amdgpu.runpm=0" "amdgpu.runpm=0"
"quiet"
"udev.log_level=3"
"systemd.show_status=auto"
]; ];
boot.kernelModules = [ "usbmon" ]; boot.kernelModules = [ "usbmon" ];

View File

@@ -0,0 +1,8 @@
{ ... }:
{
boot.plymouth = {
enable = true;
theme = "bgrt";
};
}

View File

@@ -276,6 +276,7 @@
"desktopWidgets": { "desktopWidgets": {
"enabled": false, "enabled": false,
"gridSnap": false, "gridSnap": false,
"gridSnapScale": false,
"monitorWidgets": [ "monitorWidgets": [
{ {
"name": "eDP-1", "name": "eDP-1",