Lot of change on structs
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
{ lib, config, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.home.xdg;
|
||||
in
|
||||
{
|
||||
options.home.xdg = {
|
||||
enable = mkEnableOption "Xdg service";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
xdg = {
|
||||
userDirs = {
|
||||
enable = true;
|
||||
createDirectories = true;
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user