2025-10-03 08:06:43 +03:30
|
|
|
{ config, pkgs, ... }: let
|
|
|
|
|
dotDir = "${config.home.homeDirectory}/.local/src/config/";
|
|
|
|
|
mkSymlink = path: config.lib.file.mkOutOfStoreSymlink path;
|
|
|
|
|
configs = {
|
|
|
|
|
sway = "sway";
|
|
|
|
|
kitty = "kitty";
|
|
|
|
|
foot = "foot";
|
|
|
|
|
mako = "mako";
|
|
|
|
|
}; in {
|
2025-09-30 15:29:42 +03:30
|
|
|
home.username = "coast";
|
|
|
|
|
home.homeDirectory = "/home/coast";
|
|
|
|
|
home.stateVersion = "25.05";
|
2025-10-03 08:06:43 +03:30
|
|
|
|
|
|
|
|
xdg.configFile = builtins.mapAttrs (name: subpath: {
|
|
|
|
|
source = mkSymlink "${dotDir}/${subpath}";
|
|
|
|
|
recursive = true;
|
|
|
|
|
}) configs;
|
2025-09-30 15:29:42 +03:30
|
|
|
}
|