This commit is contained in:
2025-08-28 14:15:47 +03:00
parent 435bc08e62
commit 3ee4f473c9
2 changed files with 39 additions and 1 deletions
@@ -0,0 +1,38 @@
{ config, pkgs, lib, ... }:
let
dotfiles = "${config.home.homeDirectory}/dotfiles/.configs";
symlinks = {
"hypr" = ".config/hypr";
"waybar" = ".config/waybar";
"rofi" = ".config/rofi";
"yazi" = ".config/yazi";
"alacritty" = ".config/alacritty";
"zellij" = ".config/zellij";
"zed" = ".config/zed";
"lazygit" = ".config/lazygit";
"fish/config.fish" = ".config/fish/config.fish";
"git/.gitconfig" = ".gitconfig";
"npm/.npmrc" = ".npmrc";
};
mkLinks = lib.mapAttrs' (src: target: {
name = target;
value.source = config.lib.file.mkOutOfStoreSymlink "${dotfiles}/${src}";
}) symlinks;
in {
home.username = "tedna";
home.homeDirectory = "/home/tedna";
home.stateVersion = "25.11";
programs.git.enable = true;
programs.starship.enable = true;
programs.fish.enable = false;
home.file = mkLinks;
}
+1 -1
View File
@@ -7,7 +7,7 @@
nix = { nix = {
channel = { channel = {
enable = false; enable = true;
}; };
settings = { settings = {
substituters = [ substituters = [