mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 04:30:41 +03:00
123
This commit is contained in:
@@ -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;
|
||||||
|
}
|
||||||
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
channel = {
|
channel = {
|
||||||
enable = false;
|
enable = true;
|
||||||
};
|
};
|
||||||
settings = {
|
settings = {
|
||||||
substituters = [
|
substituters = [
|
||||||
|
|||||||
Reference in New Issue
Block a user