Further changes
This commit is contained in:
+27
-1
@@ -7,6 +7,9 @@
|
||||
|
||||
home.packages = [
|
||||
pkgs.opencode
|
||||
pkgs.ncdu
|
||||
pkgs.nano
|
||||
pkgs.tinfoil-proxy
|
||||
];
|
||||
|
||||
home.file = {
|
||||
@@ -19,7 +22,30 @@
|
||||
NIX_SHELL_PRESERVE_PROMPT = "true";
|
||||
};
|
||||
|
||||
programs.bash.enable = true;
|
||||
programs.bash = {
|
||||
enable = true;
|
||||
initExtra = ''
|
||||
if [[ $- == *i* ]]; then
|
||||
exec fish
|
||||
fi
|
||||
'';
|
||||
};
|
||||
programs.fish.enable = true;
|
||||
programs.tmux.enable = true;
|
||||
programs.starship.enable = true;
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
systemd.user.services.tinfoil-proxy = {
|
||||
Unit = {
|
||||
Description = "Tinfoil local proxy (verified connection to Tinfoil enclaves)";
|
||||
After = [ "network-online.target" ];
|
||||
Wants = [ "network-online.target" ];
|
||||
};
|
||||
Service = {
|
||||
ExecStart = "${pkgs.tinfoil-proxy}/bin/tinfoil-proxy";
|
||||
Restart = "on-failure";
|
||||
RestartSec = 5;
|
||||
};
|
||||
Install.WantedBy = [ "default.target" ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user