add polymouth animation

This commit is contained in:
DACHXY 2024-12-19 19:14:59 +08:00
parent 07d70e3a64
commit fca902de1a
18 changed files with 124 additions and 294 deletions

View file

@ -3,6 +3,7 @@
{
imports = [
./boot.nix
./plymouth.nix # Boot splash
./fonts.nix
./gaming.nix
./hardware.nix
@ -23,6 +24,6 @@
./wireguard.nix
./dn-ca.nix
./environment.nix
# ./virtualisation.nix
./virtualisation.nix
];
}

View file

@ -17,7 +17,8 @@
tldr # Alternative for man
wget
unzip
p7zip
p7zip
killall
zip
glxinfo # OpenGL info
pciutils # PCI info
@ -46,6 +47,8 @@
# Editor
neovim
stylua
lazygit
lua51Packages.lua
luajitPackages.magick # neovim
vimPlugins.neomake

View file

@ -0,0 +1,22 @@
{ pkgs, ... }: {
boot = {
plymouth = {
enable = true;
theme = "catppuccin-frappe";
themePackages = with pkgs; [
(adi1090x-plymouth-themes.override {
selected_themes = [ "motion" ];
})
(catppuccin-plymouth.override {
variant = "frappe";
}
)
];
};
consoleLogLevel = 0;
initrd.verbose = false;
kernelParams = [ "quiet" "splash" "boot.shell_on_fail" "loglevel=3" "rd.systemd.show_status=false" "rd.udev.log_level=3" "udev.log_priority=3" ];
loader.timeout = 0;
};
}

View file

@ -4,6 +4,6 @@
users.users.danny = {
isNormalUser = true;
shell = pkgs.nushell;
extraGroups = [ "wheel" "qemu" "kvm" "libvirtd" "networkmanager" ];
extraGroups = [ "wheel" "input" "networkmanager" "docker" ];
};
}

View file

@ -2,35 +2,12 @@
{
virtualisation = {
spiceUSBRedirection.enable = true;
docker.enable = true;
libvirtd = {
enable = true;
qemu = {
swtpm.enable = true;
ovmf.enable = true;
ovmf.packages = [ pkgs.OVMFFull.fd ];
};
};
podman = {
enable = true;
dockerCompat = true;
defaultNetwork.settings.dns_enabled = true;
# Run container as systemd service
oci-containers = {
backend = "docker";
containers = {};
};
};
environment.systemPackages = with pkgs; [
podman-compose
qemu
spice
spice-gtk
spice-protocol
virt-manager
virt-viewer
win-spice
win-virtio
];
}
}