mirror of
https://git.sr.ht/~coasteen/dotfiles
synced 2025-11-04 14:47:38 +01:00
18 lines
536 B
Nix
18 lines
536 B
Nix
{ 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 {
|
|
home.username = "coast";
|
|
home.homeDirectory = "/home/coast";
|
|
home.stateVersion = "25.05";
|
|
|
|
xdg.configFile = builtins.mapAttrs (name: subpath: {
|
|
source = mkSymlink "${dotDir}/${subpath}";
|
|
recursive = true;
|
|
}) configs;
|
|
}
|