mirror of
https://github.com/youwen5/nixos.git
synced 2024-11-28 11:43:51 -08:00
Compare commits
No commits in common. "ce8d4815f7f99b2da1dec6a1c40a8acbd11f609e" and "efbcaad7063576a2bc10663a5b127a3dafe05298" have entirely different histories.
ce8d4815f7
...
efbcaad706
3 changed files with 18 additions and 66 deletions
|
@ -15,48 +15,17 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
|
boot.loader = {
|
||||||
boot = {
|
efi.canTouchEfiVariables = true;
|
||||||
plymouth = {
|
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.
|
||||||
|
systemd-boot = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# theme = "rings";
|
consoleMode = "auto";
|
||||||
# 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;
|
|
||||||
# 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 = {
|
# boot.lanzaboote = {
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
{
|
{
|
||||||
inputs,
|
inputs,
|
||||||
pkgs,
|
pkgs,
|
||||||
config,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
|
@ -25,29 +24,8 @@
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
boot = {
|
boot.loader.systemd-boot.enable = true;
|
||||||
loader.systemd-boot.enable = true;
|
boot.loader.efi.canTouchEfiVariables = false;
|
||||||
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 = {
|
hardware.asahi = {
|
||||||
peripheralFirmwareDirectory = "${inputs.apple-firmware}/firmware";
|
peripheralFirmwareDirectory = "${inputs.apple-firmware}/firmware";
|
||||||
|
@ -55,6 +33,12 @@
|
||||||
experimentalGPUInstallMode = "overlay";
|
experimentalGPUInstallMode = "overlay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
boot.extraModprobeConfig = ''
|
||||||
|
options hid_apple iso_layout=0
|
||||||
|
'';
|
||||||
|
|
||||||
|
boot.kernelParams = [ "apple_dcp.show_notch=1" ];
|
||||||
|
|
||||||
networking.hostName = "callisto"; # Define your hostname.
|
networking.hostName = "callisto"; # Define your hostname.
|
||||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||||
|
|
||||||
|
|
|
@ -75,7 +75,6 @@
|
||||||
background: transparent;
|
background: transparent;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
opacity: 0.75;
|
|
||||||
}
|
}
|
||||||
.notification-content {
|
.notification-content {
|
||||||
background: #${config.lib.stylix.colors.base00};
|
background: #${config.lib.stylix.colors.base00};
|
||||||
|
@ -186,7 +185,7 @@
|
||||||
background: #${config.lib.stylix.colors.base00};
|
background: #${config.lib.stylix.colors.base00};
|
||||||
border: 2px solid #${config.lib.stylix.colors.base0C};
|
border: 2px solid #${config.lib.stylix.colors.base0C};
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
opacity: 0.85;
|
opacity: 0.75;
|
||||||
}
|
}
|
||||||
.control-center-list {
|
.control-center-list {
|
||||||
background: transparent
|
background: transparent
|
||||||
|
|
Loading…
Reference in a new issue