mv obsidian to module
All checks were successful
nix flake show / show-flake (push) Successful in 30s

This commit is contained in:
smayzy 2025-07-17 15:16:34 +02:00
parent 10120f7c2d
commit c440d392fa
6 changed files with 20 additions and 2 deletions

View File

@ -40,7 +40,6 @@
'';
environment.systemPackages = with pkgs; [
obsidian
libsForQt5.kdenlive
komikku
blender

View File

@ -29,7 +29,6 @@
networking.hostName = "laptop1";
environment.systemPackages = with pkgs; [
obsidian
libsForQt5.kdenlive
floorp
komikku

View File

@ -27,6 +27,7 @@ in
wireguard.enable = true;
gui-utilities.enable = true;
mouse.enable = true;
obsidian.enable = true;
thunderbird.enable = true;
};
};

View File

@ -27,6 +27,7 @@ in
wireguard.enable = true;
gui-utilities.enable = true;
mouse.enable = true;
obsidian.enable = true;
thunderbird.enable = true;
};
services.logind.lidSwitch = "ignore";

View File

@ -2,5 +2,6 @@
{
imports = [
./office.nix
./obsidian.nix
];
}

View File

@ -0,0 +1,17 @@
{ lib, config, pkgs, ... }:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.obsidian.enable = mkOption {
type = types.bool;
default = false;
description = "obsidian";
};
config = mkIf config.smayzy.obsidian.enable {
environment.systemPackages = with pkgs; [
obsidian
];
};
}