mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 04:58:19 -04:00
moved dotfiles out of projects
This commit is contained in:
@@ -1,5 +1,13 @@
|
|||||||
{
|
{
|
||||||
services.syncthing.settings.folders = {
|
services.syncthing.settings.folders = {
|
||||||
|
"dotfiles" = {
|
||||||
|
path = "/home/richie/dotfiles";
|
||||||
|
devices = [
|
||||||
|
"jeeves"
|
||||||
|
"rhapsody-in-green"
|
||||||
|
];
|
||||||
|
fsWatcherEnabled = true;
|
||||||
|
};
|
||||||
"important" = {
|
"important" = {
|
||||||
id = "4ckma-gtshs"; # cspell:disable-line
|
id = "4ckma-gtshs"; # cspell:disable-line
|
||||||
path = "/home/richie/important";
|
path = "/home/richie/important";
|
||||||
|
|||||||
@@ -5,6 +5,14 @@ in
|
|||||||
services.syncthing = {
|
services.syncthing = {
|
||||||
guiAddress = "192.168.90.40:8384";
|
guiAddress = "192.168.90.40:8384";
|
||||||
settings.folders = {
|
settings.folders = {
|
||||||
|
"dotfiles" = {
|
||||||
|
path = "/home/richie/dotfiles";
|
||||||
|
devices = [
|
||||||
|
"bob"
|
||||||
|
"rhapsody-in-green"
|
||||||
|
];
|
||||||
|
fsWatcherEnabled = true;
|
||||||
|
};
|
||||||
"bob_temp" = {
|
"bob_temp" = {
|
||||||
path = "${vars.storage_syncthing}/bob_temp";
|
path = "${vars.storage_syncthing}/bob_temp";
|
||||||
devices = [
|
devices = [
|
||||||
|
|||||||
@@ -1,5 +1,13 @@
|
|||||||
{
|
{
|
||||||
services.syncthing.settings.folders = {
|
services.syncthing.settings.folders = {
|
||||||
|
"dotfiles" = {
|
||||||
|
path = "/home/richie/dotfiles";
|
||||||
|
devices = [
|
||||||
|
"jeeves"
|
||||||
|
"bob"
|
||||||
|
];
|
||||||
|
fsWatcherEnabled = true;
|
||||||
|
};
|
||||||
"notes" = {
|
"notes" = {
|
||||||
id = "l62ul-lpweo"; # cspell:disable-line
|
id = "l62ul-lpweo"; # cspell:disable-line
|
||||||
path = "/home/richie/notes";
|
path = "/home/richie/notes";
|
||||||
|
|||||||
@@ -13,8 +13,5 @@
|
|||||||
username = "gaming";
|
username = "gaming";
|
||||||
homeDirectory = "/home/${config.home.username}";
|
homeDirectory = "/home/${config.home.username}";
|
||||||
stateVersion = "24.05";
|
stateVersion = "24.05";
|
||||||
sessionVariables = {
|
|
||||||
FLAKE = "$HOME/Projects/dotfiles";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,17 +18,14 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
"sgc" = "sudo git -C /root/dotfiles";
|
|
||||||
|
|
||||||
## Utilities
|
|
||||||
"lrt" = "eza --icons -lsnew";
|
"lrt" = "eza --icons -lsnew";
|
||||||
"ls" = "eza";
|
"ls" = "eza";
|
||||||
"ll" = "eza --long --group";
|
"ll" = "eza --long --group";
|
||||||
"la" = "eza --all";
|
"la" = "eza --all";
|
||||||
|
|
||||||
"rspace" = "'for f in *\ *; do mv \"$f\" \"\${f// /_}\"; done'";
|
"rspace" = "'for f in *\ *; do mv \"$f\" \"\${f// /_}\"; done'";
|
||||||
"rebuild" = "sudo nixos-rebuild switch --flake /home/richie/projects/dotfiles#$HOST";
|
"rebuild" = "sudo nixos-rebuild switch --flake /home/richie/dotfiles#$HOST";
|
||||||
"nix-test" = "nixos-rebuild test --flake /home/richie/projects/dotfiles";
|
"nix-test" = "nixos-rebuild test --flake /home/richie/dotfiles";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
homeDirectory = "/home/${config.home.username}";
|
homeDirectory = "/home/${config.home.username}";
|
||||||
stateVersion = "24.05";
|
stateVersion = "24.05";
|
||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
FLAKE = "$HOME/Projects/dotfiles";
|
FLAKE = "$HOME/dotfiles";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user