the generic bootloader will allow more code-sharing with rpi and pinephone. desko should soon use the generic bootloader as well. problems: lappy can't boot from USB stick. it makes it to the initrd, but there's no dev nodes for the USB drive. unsure if this is how it was before, too.
27 lines
438 B
Nix
27 lines
438 B
Nix
{ lib, config, ... }:
|
|
|
|
with lib;
|
|
let
|
|
cfg = config.colinsane.gui;
|
|
in
|
|
{
|
|
imports = [
|
|
./gnome.nix
|
|
./phosh.nix
|
|
./plasma-mobile.nix
|
|
./sway.nix
|
|
];
|
|
|
|
options = {
|
|
# doesn't directly create outputs. consumed by e.g. home-manager.nix module
|
|
colinsane.gui.enable = mkOption {
|
|
default = false;
|
|
type = types.bool;
|
|
};
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
colinsane.home-manager.enable = true;
|
|
};
|
|
}
|