Move notes configuration

This commit is contained in:
Oliver Davies 2025-04-05 10:11:07 +01:00
parent 90aaabeed6
commit 111c336abc
8 changed files with 37 additions and 48 deletions

View file

@ -0,0 +1,18 @@
{
home-manager.users.opdavies =
{ config, pkgs, ... }:
{
xdg = {
enable = true;
userDirs.enable = true;
};
home = {
packages = with pkgs; [ notes ];
sessionVariables = {
NOTES_DIRECTORY = "${config.xdg.userDirs.documents}/wiki/tfw-notes";
};
};
};
}

View file

@ -27,6 +27,7 @@
../../users/opdavies
./modules/newsboat
./modules/notes.nix
];
nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];

View file

@ -0,0 +1,18 @@
{
home-manager.users.opdavies =
{ config, pkgs, ... }:
{
xdg = {
enable = true;
userDirs.enable = true;
};
home = {
packages = with pkgs; [ notes ];
sessionVariables = {
NOTES_DIRECTORY = "${config.xdg.userDirs.documents}/wiki/notes";
};
};
};
}