2024-11-26 15:37:54 -06:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./sx
|
|
|
|
];
|
|
|
|
|
|
|
|
# make the bashrc go in .config/bash, not the home directory
|
|
|
|
environment.etc = {
|
|
|
|
"profile.local" = {
|
|
|
|
text = "source /home/usr/.config/bash/profile";
|
|
|
|
};
|
|
|
|
"bashrc.local" = {
|
|
|
|
text = "source /home/usr/.config/bash/bashrc";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
system.userActivationScripts = {
|
|
|
|
copyEssentialConfiguration = {
|
|
|
|
text = ''
|
|
|
|
mkdir -p /home/usr/.config/bash
|
|
|
|
${pkgs.coreutils}/bin/ln -sf /home/usr/dots/lappy/config/bash/bashrc /home/usr/.config/bash/bashrc
|
|
|
|
${pkgs.coreutils}/bin/ln -sf /home/usr/dots/lappy/config/bash/profile /home/usr/.config/bash/profile
|
|
|
|
|
2024-11-26 20:20:37 -06:00
|
|
|
mkdir -p /home/usr/.config/cmus
|
|
|
|
${pkgs.coreutils}/bin/ln -sf /home/usr/dots/lappy/config/cmus/rc /home/usr/.config/cmus/rc
|
|
|
|
|
2024-11-26 15:37:54 -06:00
|
|
|
mkdir -p /home/usr/.config/git
|
|
|
|
${pkgs.coreutils}/bin/ln -sf /home/usr/dots/lappy/config/git/config /home/usr/.config/git/config
|
|
|
|
|
2024-11-26 20:20:37 -06:00
|
|
|
mkdir -p /home/usr/.config/isync
|
|
|
|
${pkgs.coreutils}/bin/ln -sf /home/usr/dots/lappy/config/isync/config /home/usr/.config/isync/config
|
|
|
|
|
|
|
|
mkdir -p /home/usr/.config/khal
|
|
|
|
${pkgs.coreutils}/bin/ln -sf /home/usr/dots/lappy/config/khal/config /home/usr/.config/khal/config
|
|
|
|
|
|
|
|
mkdir -p /home/usr/.config/khard
|
|
|
|
${pkgs.coreutils}/bin/ln -sf /home/usr/dots/lappy/config/khard/khard.conf /home/usr/.config/khard/khard.conf
|
|
|
|
|
|
|
|
mkdir -p /home/usr/.config/msmtp
|
|
|
|
${pkgs.coreutils}/bin/ln -sf /home/usr/dots/lappy/config/msmtp/config /home/usr/.config/msmtp/config
|
|
|
|
|
|
|
|
mkdir -p /home/usr/.config/neomutt
|
|
|
|
${pkgs.coreutils}/bin/ln -sf /home/usr/dots/lappy/config/neomutt/neomuttrc /home/usr/.config/neomutt/neomuttrc
|
|
|
|
|
|
|
|
mkdir -p /home/usr/.config/nvim
|
|
|
|
${pkgs.coreutils}/bin/ln -sf /home/usr/dots/lappy/config/nvim/init.lua /home/usr/.config/nvim/init.lua
|
|
|
|
|
2024-11-26 15:37:54 -06:00
|
|
|
mkdir -p /home/usr/.config/rbw
|
|
|
|
${pkgs.coreutils}/bin/ln -sf /home/usr/dots/lappy/config/rbw/config.json /home/usr/.config/rbw/config.json
|
|
|
|
|
2024-11-26 20:20:37 -06:00
|
|
|
mkdir -p /home/usr/.config/ssh
|
|
|
|
mkdir -p /home/usr/.ssh
|
|
|
|
${pkgs.coreutils}/bin/ln -sf /home/usr/dots/lappy/config/ssh/config /home/usr/.config/ssh/config
|
|
|
|
${pkgs.coreutils}/bin/ln -sf /home/usr/dots/lappy/config/ssh/config /home/usr/.ssh/config
|
|
|
|
|
|
|
|
mkdir -p /home/usr/.config/sx
|
|
|
|
${pkgs.coreutils}/bin/ln -sf /home/usr/dots/lappy/config/sx/sxrc /home/usr/.config/sx/sxrc
|
|
|
|
|
2024-12-04 13:37:07 -06:00
|
|
|
mkdir -p /home/usr/.config/todoman
|
|
|
|
${pkgs.coreutils}/bin/ln -sf /home/usr/dots/lappy/config/todoman/config.py /home/usr/.config/todoman/config.py
|
|
|
|
|
2024-11-26 20:20:37 -06:00
|
|
|
mkdir -p /home/usr/.config/vdirsyncer
|
|
|
|
${pkgs.coreutils}/bin/ln -sf /home/usr/dots/lappy/config/vdirsyncer/config /home/usr/.config/vdirsyncer/config
|
2024-11-26 15:37:54 -06:00
|
|
|
'';
|
|
|
|
deps = [];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|