Compare commits

..

5 commits

3 changed files with 66 additions and 18 deletions

View file

@ -15,18 +15,49 @@
];
# Bootloader.
boot.loader = {
boot = {
plymouth = {
enable = true;
# theme = "rings";
# themePackages = with pkgs; [
# # By default we would install all themes
# (adi1090x-plymouth-themes.override {
# selected_themes = [ "rings" ];
# })
# ];
font = "${config.stylix.fonts.monospace.package}/share/fonts/truetype/NerdFonts/CaskaydiaCoveNerdFontMono-Regular.ttf";
};
# Enable "Silent Boot"
consoleLogLevel = 3;
initrd.verbose = false;
kernelParams = [
"quiet"
"splash"
"boot.shell_on_fail"
"rd.systemd.show_status=false"
"rd.udev.log_level=3"
"udev.log_priority=3"
];
# Hide the OS choice for bootloaders.
# It's still possible to open the bootloader list by pressing any key
# It will just not appear on screen unless a key is pressed
loader = {
efi.canTouchEfiVariables = true;
timeout = 15;
# timeout = 15;
# Lanzaboote currently replaces the systemd-boot module.
# This setting is usually set to true in configuration.nix
# generated at installation time. So we force it to false
# for now.
# timeout = 0;
systemd-boot = {
enable = true;
consoleMode = "auto";
};
};
initrd.systemd.enable = true;
};
# boot.lanzaboote = {
# enable = false;

View file

@ -4,6 +4,7 @@
{
inputs,
pkgs,
config,
...
}:
{
@ -24,8 +25,29 @@
}
);
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = false;
boot = {
loader.systemd-boot.enable = true;
loader.efi.canTouchEfiVariables = false;
plymouth = {
enable = true;
font = "${config.stylix.fonts.monospace.package}/share/fonts/truetype/NerdFonts/CaskaydiaCoveNerdFontMono-Regular.ttf";
};
consoleLogLevel = 3;
initrd.verbose = false;
kernelParams = [
"quiet"
"splash"
"boot.shell_on_fail"
"rd.systemd.show_status=false"
"rd.udev.log_level=3"
"udev.log_priority=3"
"apple_dcp.show_notch=1"
];
extraModprobeConfig = ''
options hid_apple iso_layout=0
'';
initrd.systemd.enable = true;
};
hardware.asahi = {
peripheralFirmwareDirectory = "${inputs.apple-firmware}/firmware";
@ -33,12 +55,6 @@
experimentalGPUInstallMode = "overlay";
};
boot.extraModprobeConfig = ''
options hid_apple iso_layout=0
'';
boot.kernelParams = [ "apple_dcp.show_notch=1" ];
networking.hostName = "callisto"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.

View file

@ -75,6 +75,7 @@
background: transparent;
padding: 0;
margin: 0px;
opacity: 0.75;
}
.notification-content {
background: #${config.lib.stylix.colors.base00};
@ -185,7 +186,7 @@
background: #${config.lib.stylix.colors.base00};
border: 2px solid #${config.lib.stylix.colors.base0C};
border-radius: 5px;
opacity: 0.75;
opacity: 0.85;
}
.control-center-list {
background: transparent