Disable systemd-boot for mobile installation
This commit is contained in:
parent
e105184ce6
commit
cfa28e8dd2
|
@ -20,8 +20,8 @@ in
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
# Use the systemd-boot EFI boot loader.
|
# Use the systemd-boot EFI boot loader.
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = !isMobile;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = !isMobile;
|
||||||
|
|
||||||
networking.hostName = "kiana-${platform}";
|
networking.hostName = "kiana-${platform}";
|
||||||
networking.wireless.enable = false;
|
networking.wireless.enable = false;
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
{
|
{
|
||||||
home.packages = [ pkgs.wob ];
|
home.packages = [ pkgs.wob ];
|
||||||
|
|
||||||
xdg.configFile = rec {
|
xdg.configFile = {
|
||||||
"wob/volume.ini".text = "";
|
"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
|
border_color = #FFFF00FF
|
||||||
bar_color = #FFFF00FF
|
bar_color = #FFFF00FF
|
||||||
'';
|
'';
|
||||||
}
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue