This commit is contained in:
arielherself 2024-08-06 14:08:48 +08:00
parent 1d2cde26aa
commit d1684dbb95
Signed by: arielherself
SSH Key Fingerprint: SHA256:AK3cyo9tFsp7Mox7K0sYphleC8hReXhnRKxwuDT5LBc
2 changed files with 61 additions and 17 deletions

View File

@ -33,7 +33,8 @@ cp $HOME/.tmux.conf .
cp $HOME/.config/tmux-powerline . -r cp $HOME/.config/tmux-powerline . -r
# Nix # Nix
cp $HOME/.config/home-manager . -r # Use a symlink for home-maanger.
# cp $HOME/.config/home-manager . -r
cp /etc/nixos . -r cp /etc/nixos . -r
# NPM # NPM

View File

@ -10,10 +10,53 @@ in {
# manage. # manage.
home.username = "user"; home.username = "user";
home.homeDirectory = "/home/user"; home.homeDirectory = "/home/user";
xdg.enable = true;
targets.genericLinux.enable = true; targets.genericLinux.enable = true;
xdg.mime.enable = true; xdg.mime.enable = true;
home.file = {
".profile" = {
source = ../.profile;
};
".gitconfig" = {
text = ''
[user]
email = arielherself@duck.com
name = arielherself
[gpg "ssh"]
program = ${pkgs._1password-gui}/bin/op-ssh-sign
'';
};
};
xdg.configFile = {
"tmux/plugins/tpm" = {
source = builtins.fetchGit {
url = "https://github.com/tmux-plugins/tpm.git";
ref = "master";
};
recursive = true;
};
"contour/contour.yml" = {
source = ../contour.yml;
};
"awesome/rc.lua" = {
source = ../awesome.rc.lua;
};
"lf" = {
source = ../lf;
recursive = true;
};
"xournalpp" = {
source = ../xournalpp;
recursive = true;
};
"nvim" = {
source = ../nvim;
};
};
xdg.desktopEntries = { xdg.desktopEntries = {
# Don't forget to change its permissions. # Don't forget to change its permissions.
cider = { cider = {
@ -47,7 +90,7 @@ in {
home.packages = [ home.packages = [
# Terminal # Terminal
# pkgs.contour # pkgs.contour
pkgs.tmux # pkgs.tmux
pkgs.kitty pkgs.kitty
pkgs.alacritty pkgs.alacritty
@ -200,7 +243,7 @@ in {
programs.zsh = { programs.zsh = {
enable = true; enable = true;
dotDir = "${config.home.homeDirectory}/.config/zsh"; # dotDir = "${config.home.homeDirectory}/.config/zsh";
autosuggestion.enable = true; autosuggestion.enable = true;
syntaxHighlighting.enable = true; syntaxHighlighting.enable = true;
oh-my-zsh = { oh-my-zsh = {
@ -246,20 +289,20 @@ in {
theme.name = "Adwaita-dark"; theme.name = "Adwaita-dark";
}; };
# programs.tmux = { programs.tmux = {
# enable = true; enable = true;
# sensibleOnTop = false; sensibleOnTop = false;
# shell = "${pkgs.zsh}/bin/zsh"; shell = "${pkgs.zsh}/bin/zsh";
# extraConfig = '' extraConfig = ''
# # set-option -g default-shell "${pkgs.zsh}/bin/zsh" set-option -g default-shell "${pkgs.zsh}/bin/zsh"
# # set -g default-command "${pkgs.zsh}/bin/zsh" set -g default-command "${pkgs.zsh}/bin/zsh"
# # setw -g mode-keys vi setw -g mode-keys vi
# # set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tpm'
# # set -g @plugin 'tmux-plugins/tmux-sensible' set -g @plugin 'tmux-plugins/tmux-sensible'
# # set -g @plugin 'erikw/tmux-powerline' set -g @plugin 'erikw/tmux-powerline'
# # run '~/.tmux/plugins/tpm/tpm' run '~/.tmux/plugins/tpm/tpm'
# ''; '';
# }; };
services.mpris-proxy.enable = true; services.mpris-proxy.enable = true;