xdg
This commit is contained in:
@@ -19,6 +19,7 @@
|
|||||||
../common/programs/kitty.nix
|
../common/programs/kitty.nix
|
||||||
../common/programs/syncthing.nix
|
../common/programs/syncthing.nix
|
||||||
../common/features/colorscheme.nix
|
../common/features/colorscheme.nix
|
||||||
|
../common/features/xdg.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
@@ -43,4 +44,5 @@
|
|||||||
username = lib.mkDefault "naps62";
|
username = lib.mkDefault "naps62";
|
||||||
stateVersion = lib.mkDefault "24.05";
|
stateVersion = lib.mkDefault "24.05";
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,17 @@
|
|||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
xdg = {
|
||||||
|
userDirs = {
|
||||||
|
enable = true;
|
||||||
|
createDirectories = true;
|
||||||
|
desktop = null;
|
||||||
|
documents = null;
|
||||||
|
download = "downloads";
|
||||||
|
music = null;
|
||||||
|
pictures = null;
|
||||||
|
publicShare = null;
|
||||||
|
templates = null;
|
||||||
|
videos = null;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -2,6 +2,5 @@
|
|||||||
{
|
{
|
||||||
services.syncthing = {
|
services.syncthing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
dataDir = "$HOME/sync";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user