Compare commits
4 commits
71c5396433
...
84041ab5a3
Author | SHA1 | Date | |
---|---|---|---|
Laureηt | 84041ab5a3 | ||
Laureηt | db2003e4e6 | ||
Laureηt | ca17686729 | ||
Laureηt | ac3b869e95 |
19
hosts/hydrogen/services/atuin/default.nix
Normal file
19
hosts/hydrogen/services/atuin/default.nix
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
{ ... }: {
|
||||||
|
|
||||||
|
services.atuin = {
|
||||||
|
enable = true;
|
||||||
|
openRegistration = false;
|
||||||
|
maxHistoryLength = 1000000000;
|
||||||
|
};
|
||||||
|
|
||||||
|
services.nginx = {
|
||||||
|
virtualHosts = {
|
||||||
|
"atuin.fainsin.bzh" = {
|
||||||
|
forceSSL = true;
|
||||||
|
enableACME = true;
|
||||||
|
locations."/" = { proxyPass = "http://127.0.0.1:8888"; };
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
|
@ -1 +1 @@
|
||||||
{ imports = [ ./gitea ./blocky ./wireguard ]; }
|
{ imports = [ ./atuin ./blocky ./gitea ./wireguard ]; }
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
networking = {
|
networking = {
|
||||||
firewall = {
|
firewall = {
|
||||||
allowedUDPPorts = [
|
allowedUDPPorts = [
|
||||||
5553 # default wireguard port
|
5553 # wireguard
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -4,14 +4,13 @@
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
baobab # disk utils
|
baobab # disk utils
|
||||||
borgbackup # backup
|
borgbackup # backup
|
||||||
dconf
|
|
||||||
duf # replacement for df
|
duf # replacement for df
|
||||||
element-desktop # matrix client
|
element-desktop # matrix client
|
||||||
feh # image viewer
|
feh # image viewer
|
||||||
gnome.nautilus # file explorer
|
gnome.nautilus # file explorer
|
||||||
grim # screenshot utils
|
grim # screenshot utils
|
||||||
htop # replacement for top
|
htop # replacement for top
|
||||||
jmtpfs
|
jmtpfs # for Android MTP
|
||||||
keepassxc # password manager
|
keepassxc # password manager
|
||||||
libreoffice-fresh # office suite
|
libreoffice-fresh # office suite
|
||||||
logseq # second brain journalling
|
logseq # second brain journalling
|
||||||
|
|
|
@ -46,6 +46,7 @@ in {
|
||||||
programs.atuin = {
|
programs.atuin = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
|
settings = { sync_address = "https://atuin.fainsin.bzh"; };
|
||||||
};
|
};
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in a new issue