mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
a bunch of code cleanup
This commit is contained in:
parent
977d1ad6d2
commit
016a347d5e
19 changed files with 92 additions and 100 deletions
|
|
@ -4,17 +4,16 @@ _: {
|
|||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
}: let
|
||||
cfg = config.localModules.theming;
|
||||
in {
|
||||
options.localModules.theming = {
|
||||
enable = mkEnableOption "";
|
||||
kmscon.enable = mkEnableOption "";
|
||||
enable = lib.mkEnableOption "";
|
||||
kmscon.enable = lib.mkEnableOption "";
|
||||
};
|
||||
config = mkMerge [
|
||||
config = lib.mkMerge [
|
||||
(
|
||||
mkIf cfg.enable {
|
||||
lib.mkIf cfg.enable {
|
||||
environment = {
|
||||
systemPackages = [
|
||||
pkgs.flat-remix-gtk
|
||||
|
|
@ -81,7 +80,7 @@ in {
|
|||
};
|
||||
}
|
||||
)
|
||||
(mkIf cfg.kmscon.enable {
|
||||
(lib.mkIf cfg.kmscon.enable {
|
||||
services.kmscon = {
|
||||
enable = true;
|
||||
hwRender = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue