Move scripts dir inside hm

And remove weird path contraptions
This commit is contained in:
Geoffrey Frogeye 2023-11-30 22:09:44 +01:00
parent 050901da2f
commit edeef96133
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
49 changed files with 2 additions and 11 deletions

View file

@ -349,7 +349,7 @@ in
}; };
services = { services = {
gpg-agent = { gpg-agent = {
enable = true; enable = true; # TODO Consider not enabling it when not having any private key
enableBashIntegration = true; enableBashIntegration = true;
enableZshIntegration = true; enableZshIntegration = true;
pinentryFlavor = "gtk2"; # Falls back to curses when needed pinentryFlavor = "gtk2"; # Falls back to curses when needed
@ -495,7 +495,7 @@ in
sessionPath = [ sessionPath = [
"${config.home.homeDirectory}/.local/bin" "${config.home.homeDirectory}/.local/bin"
"${config.home.sessionVariables.GOPATH}" "${config.home.sessionVariables.GOPATH}"
"${config.frogeye.dotfiles.path}/scripts" (builtins.toString ./scripts)
]; ];
file = { file = {
".face" = { ".face" = {

View file

@ -18,15 +18,6 @@
fpga = lib.mkEnableOption "FPGA dev stuff"; fpga = lib.mkEnableOption "FPGA dev stuff";
python = lib.mkEnableOption "Python dev stuff"; python = lib.mkEnableOption "Python dev stuff";
}; };
dotfiles = {
path = lib.mkOption {
type = lib.types.str;
description = "Absolute path to the present dotfiles directory";
# default = "${config.home.homeDirectory}/.config/dotfiles";
# FIXME Above doesn't work outside home-manager context
default = "/home/geoffrey/.config/dotfiles";
};
};
}; };
config = { config = {