mirror of
https://github.com/youwen5/liminalOS.git
synced 2025-06-20 05:59:51 -07:00
fix: reconfigure modules to build successfully on demeter
This commit is contained in:
parent
ce89f8149e
commit
180741ec71
11 changed files with 54 additions and 63 deletions
|
@ -5,7 +5,7 @@
|
|||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.liminalOS.system.printing;
|
||||
cfg = config.liminalOS.system;
|
||||
inherit (lib) mkIf;
|
||||
in
|
||||
{
|
||||
|
@ -17,7 +17,13 @@ in
|
|||
Whether to set up default options for printing and printer discover on UNIX.
|
||||
'';
|
||||
};
|
||||
fonts.enable = lib.mkEnableOption "fonts";
|
||||
fonts.enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = config.liminalOS.enable;
|
||||
description = ''
|
||||
Whether to set up some nice default fonts, including a Nerd Font, Noto Fonts, and CJK.
|
||||
'';
|
||||
};
|
||||
distrobox.enable = lib.mkEnableOption "distrobox and podman";
|
||||
};
|
||||
|
||||
|
@ -45,11 +51,11 @@ in
|
|||
]);
|
||||
};
|
||||
|
||||
virtualisation.podman = cfg.distrobox.enable {
|
||||
virtualisation.podman = mkIf cfg.distrobox.enable {
|
||||
enable = true;
|
||||
dockerCompat = true;
|
||||
};
|
||||
|
||||
environment.systemPackages = cfg.distrobox.enable [ pkgs.distrobox ];
|
||||
environment.systemPackages = mkIf cfg.distrobox.enable [ pkgs.distrobox ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue