feat(obsidian): initial obsidian config
This commit is contained in:
parent
8fcda1a7e9
commit
a02ecc1f70
6 changed files with 48 additions and 2 deletions
|
|
@ -9,7 +9,7 @@
|
||||||
#./wallpaper -- still needs to be implemented
|
#./wallpaper -- still needs to be implemented
|
||||||
#./utility -- still needs to be implemented
|
#./utility -- still needs to be implemented
|
||||||
./wayland # -- almost done, need to implement eww
|
./wayland # -- almost done, need to implement eww
|
||||||
#./productivity -- still needs to be implemented
|
./productivity
|
||||||
# ./gaming
|
# ./gaming
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
13
home/modules/desktop/productivity/default.nix
Normal file
13
home/modules/desktop/productivity/default.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
{ lib, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./obsidian
|
||||||
|
];
|
||||||
|
|
||||||
|
options.homeModules.desktop.productivity = {
|
||||||
|
obsidian = {
|
||||||
|
enable = lib.mkEnableOption "enable obsidian home module";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
11
home/modules/desktop/productivity/obsidian/default.nix
Normal file
11
home/modules/desktop/productivity/obsidian/default.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
{ lib, config, pkgs, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
cfg = config.homeModules.desktop.productivity.obsidian;
|
||||||
|
in
|
||||||
|
|
||||||
|
{
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
home.packages = with pkgs; [ obsidian ];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -11,6 +11,7 @@ in
|
||||||
./base
|
./base
|
||||||
./hyprland
|
./hyprland
|
||||||
#./creative
|
#./creative
|
||||||
|
./productivity
|
||||||
];
|
];
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
|
|
@ -29,6 +30,9 @@ in
|
||||||
gaming = {
|
gaming = {
|
||||||
enable = lib.mkEnableOption "Enable the gaming profile";
|
enable = lib.mkEnableOption "Enable the gaming profile";
|
||||||
};
|
};
|
||||||
|
productivity = {
|
||||||
|
enable = lib.mkEnableOption "Enable the productivity profile";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,18 @@
|
||||||
|
{ config, lib, ... }:
|
||||||
|
let
|
||||||
|
cfg = config.profiles.productivity;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
|
||||||
|
imports = [
|
||||||
|
../../modules
|
||||||
|
];
|
||||||
|
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
homeModules.desktop = {
|
||||||
|
productivity = {
|
||||||
|
obsidian.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
../../../profile
|
../../../profile
|
||||||
];
|
];
|
||||||
|
|
||||||
activeProfiles = ["base" "hyprland" ];
|
activeProfiles = ["base" "hyprland" "productivity"];
|
||||||
|
|
||||||
home.sessionVariables.HN = "ooksdesk";
|
home.sessionVariables.HN = "ooksdesk";
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue