Disable systemd-boot for mobile installation

This commit is contained in:
Kiana Sheibani 2023-01-14 21:09:16 -05:00
parent e105184ce6
commit cfa28e8dd2
2 changed files with 5 additions and 5 deletions

View file

@ -20,8 +20,8 @@ in
nixpkgs.config.allowUnfree = true;
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.systemd-boot.enable = !isMobile;
boot.loader.efi.canTouchEfiVariables = !isMobile;
networking.hostName = "kiana-${platform}";
networking.wireless.enable = false;

View file

@ -2,12 +2,12 @@
{
home.packages = [ pkgs.wob ];
xdg.configFile = rec {
xdg.configFile = {
"wob/volume.ini".text = "";
"wob/brightness.ini".text = "wob/volume.ini".text + ''
"wob/brightness.ini".text = config.xdg.configFile."wob/volume.ini".text + ''
border_color = #FFFF00FF
bar_color = #FFFF00FF
'';
}
};
}