mv obsidian to module
All checks were successful
nix flake show / show-flake (push) Successful in 30s
All checks were successful
nix flake show / show-flake (push) Successful in 30s
This commit is contained in:
parent
10120f7c2d
commit
c440d392fa
@ -40,7 +40,6 @@
|
||||
'';
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
obsidian
|
||||
libsForQt5.kdenlive
|
||||
komikku
|
||||
blender
|
||||
|
||||
@ -29,7 +29,6 @@
|
||||
networking.hostName = "laptop1";
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
obsidian
|
||||
libsForQt5.kdenlive
|
||||
floorp
|
||||
komikku
|
||||
|
||||
@ -27,6 +27,7 @@ in
|
||||
wireguard.enable = true;
|
||||
gui-utilities.enable = true;
|
||||
mouse.enable = true;
|
||||
obsidian.enable = true;
|
||||
thunderbird.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
@ -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";
|
||||
|
||||
@ -2,5 +2,6 @@
|
||||
{
|
||||
imports = [
|
||||
./office.nix
|
||||
./obsidian.nix
|
||||
];
|
||||
}
|
||||
|
||||
17
modules/nix/office/obsidian.nix
Normal file
17
modules/nix/office/obsidian.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user