mirror of
https://github.com/sadan4/dotfiles.git
synced 2024-11-16 23:04:39 -05:00
142 current 2024-05-24 23:27:57 24.05.20240419.5c24cf2 6.8.6-zen1 *
This commit is contained in:
parent
4f6239e282
commit
b8411acbb6
3 changed files with 39 additions and 39 deletions
|
@ -1,6 +1,7 @@
|
||||||
{ config, lib, pkgs, inputs, ... }:
|
{ config, lib, pkgs, inputs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
files = import ../../common/files.nix { inherit config; };
|
||||||
cpkg = import ../../customPackages { inherit pkgs; };
|
cpkg = import ../../customPackages { inherit pkgs; };
|
||||||
zshInitArgs = [
|
zshInitArgs = [
|
||||||
"source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme"
|
"source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme"
|
||||||
|
@ -161,44 +162,7 @@ in
|
||||||
];
|
];
|
||||||
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
||||||
# plain files is through 'home.file'.
|
# plain files is through 'home.file'.
|
||||||
home.file = {
|
home.file = files;
|
||||||
kitty = {
|
|
||||||
recursive = true;
|
|
||||||
source = ../../dotfiles/kitty;
|
|
||||||
target = "./.config/kitty";
|
|
||||||
};
|
|
||||||
eslint_d_config = {
|
|
||||||
source = ../../dotfiles/eslintrc.json;
|
|
||||||
target = "./.config/.eslintrc.json";
|
|
||||||
};
|
|
||||||
gh = {
|
|
||||||
recursive = true;
|
|
||||||
source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/nixos/dotfiles/gh";
|
|
||||||
target = "./.config/gh";
|
|
||||||
};
|
|
||||||
btop = {
|
|
||||||
recursive = true;
|
|
||||||
source = ../../dotfiles/btop;
|
|
||||||
target = "./.config/btop";
|
|
||||||
};
|
|
||||||
nvim = {
|
|
||||||
recursive = true;
|
|
||||||
source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/nixos/dotfiles/nvim";
|
|
||||||
target = "./.config/nvim";
|
|
||||||
};
|
|
||||||
# "testconfigfile".source = ../../dotfiles/testconfigfile;
|
|
||||||
# ".gitconfig".source = ../../dotfiles/.gitconfig;
|
|
||||||
# # Building this configuration will create a copy of 'dotfiles/screenrc' in
|
|
||||||
# # the Nix store. Activating the configuration will then make '~/.screenrc' a
|
|
||||||
# # symlink to the Nix store copy.
|
|
||||||
# ".screenrc".source = dotfiles/screenrc;
|
|
||||||
|
|
||||||
# # You can also set the file content immediately.
|
|
||||||
# ".gradle/gradle.properties".text = ''
|
|
||||||
# org.gradle.console=verbose
|
|
||||||
# org.gradle.daemon.idletimeout=3600000
|
|
||||||
# '';
|
|
||||||
};
|
|
||||||
|
|
||||||
# Home Manager can also manage your environment variables through
|
# Home Manager can also manage your environment variables through
|
||||||
# 'home.sessionVariables'. If you don't want to manage your shell through Home
|
# 'home.sessionVariables'. If you don't want to manage your shell through Home
|
||||||
|
|
36
common/files.nix
Normal file
36
common/files.nix
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
{ config }: rec{
|
||||||
|
kitty = {
|
||||||
|
recursive = true;
|
||||||
|
source = ../dotfiles/kitty;
|
||||||
|
target = "./.config/kitty";
|
||||||
|
};
|
||||||
|
eslint_d_config = {
|
||||||
|
source = ../dotfiles/eslintrc.json;
|
||||||
|
target = "./.config/.eslintrc.json";
|
||||||
|
};
|
||||||
|
gh = {
|
||||||
|
recursive = true;
|
||||||
|
source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/nixos/dotfiles/gh";
|
||||||
|
target = "./.config/gh";
|
||||||
|
};
|
||||||
|
btop = {
|
||||||
|
recursive = true;
|
||||||
|
source = ../dotfiles/btop;
|
||||||
|
target = "./.config/btop";
|
||||||
|
};
|
||||||
|
nvim = {
|
||||||
|
recursive = true;
|
||||||
|
source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/nixos/dotfiles/nvim";
|
||||||
|
target = "./.config/nvim";
|
||||||
|
};
|
||||||
|
# # Building this configuration will create a copy of 'dotfiles/screenrc' in
|
||||||
|
# # the Nix store. Activating the configuration will then make '~/.screenrc' a
|
||||||
|
# # symlink to the Nix store copy.
|
||||||
|
# ".screenrc".source = dotfiles/screenrc;
|
||||||
|
|
||||||
|
# # You can also set the file content immediately.
|
||||||
|
# ".gradle/gradle.properties".text = ''
|
||||||
|
# org.gradle.console=verbose
|
||||||
|
# org.gradle.daemon.idletimeout=3600000
|
||||||
|
# '';
|
||||||
|
}
|
|
@ -1 +1 @@
|
||||||
Subproject commit 66faf984c1895876b0f05d33ca195eef93a72fa6
|
Subproject commit 378e25338aa841d569d2f5519f321e9ee693e1e1
|
Loading…
Reference in a new issue