Compare commits

..

5 commits

Author SHA1 Message Date
11e0f758c0
arashi: init atuin db 2024-02-05 21:25:45 -05:00
a2e518cf3b
gtk: update font & add iconTheme 2024-02-05 21:25:24 -05:00
bd6a277b96
fonts: update fonts 2024-02-05 21:24:51 -05:00
b76acf3cbc
sora: init atuin server 2024-02-05 21:24:43 -05:00
1861347ce6
home: init atuin 2024-02-05 21:24:13 -05:00
6 changed files with 50 additions and 9 deletions

View file

@ -27,6 +27,7 @@
unzip unzip
unrar unrar
p7zip p7zip
procs
]; ];
services = { services = {
@ -41,6 +42,17 @@
programs = { programs = {
bat.enable = true; bat.enable = true;
atuin = {
enable = true;
enableNushellIntegration = true;
settings = {
auto_sync = true;
update_check = true;
sync_frequency = "5m";
sync_address = "http://100.104.42.96:8888";
style = "full";
};
};
git = { git = {
enable = true; enable = true;
delta.enable = true; delta.enable = true;

View file

@ -10,12 +10,16 @@
gtk = { gtk = {
enable = true; enable = true;
font = { font = {
name = "Monaspace Krypton"; name = "Noto Sans";
package = pkgs.monaspace; size = 10;
}; };
theme = { theme = {
name = "Tokyonight-Dark-BL"; name = "Tokyonight-Dark-BL";
package = pkgs.tokyo-night-gtk; package = pkgs.tokyo-night-gtk;
}; };
iconTheme = {
name = "Papirus";
package = pkgs.papirus-icon-theme;
};
}; };
} }

View file

@ -48,6 +48,10 @@
name = "miniflux"; name = "miniflux";
ensureDBOwnership = true; ensureDBOwnership = true;
} }
{
name = "atuin";
ensureDBOwnership = true;
}
]; ];
ensureDatabases = [ ensureDatabases = [
"forgejo" "forgejo"
@ -57,11 +61,21 @@
"vaultwarden" "vaultwarden"
"attic" "attic"
"miniflux" "miniflux"
"atuin"
]; ];
}; };
services.postgresqlBackup = { services.postgresqlBackup = {
enable = true; enable = true;
databases = ["forgejo" "hedgedoc" "grafana" "authelia" "vaultwarden" "attic" "miniflux"]; databases = [
"forgejo"
"hedgedoc"
"grafana"
"authelia"
"vaultwarden"
"attic"
"miniflux"
"atuin"
];
compression = "zstd"; compression = "zstd";
compressionLevel = 4; compressionLevel = 4;
startAt = "*-*-* 23:00:00"; startAt = "*-*-* 23:00:00";

View file

@ -0,0 +1,14 @@
{lib, ...}: {
networking.firewall.allowedTCPPorts = [8888];
services.atuin = {
enable = true;
openRegistration = true;
openFirewall = true;
host = "100.104.42.96";
port = 8888;
database = {
createLocally = lib.mkForce false;
uri = "postgres://atuin:atuin@100.94.214.100:5432/atuin";
};
};
}

View file

@ -8,9 +8,10 @@
./tailscale.nix ./tailscale.nix
./croc.nix ./croc.nix
./glances.nix ./glances.nix
./atuin.nix
### game servers ### game servers
./terraria.nix # ./terraria.nix
# ./factorio.nix # ./factorio.nix
# ./minecraft.nix # ./minecraft.nix
./foundryvtt.nix ./foundryvtt.nix

View file

@ -5,20 +5,16 @@
packages = with pkgs; [ packages = with pkgs; [
corefonts corefonts
nerdfonts nerdfonts
jetbrains-mono
noto-fonts noto-fonts
noto-fonts-cjk noto-fonts-cjk
twitter-color-emoji twitter-color-emoji
font-awesome
kochi-substitute
ipafont
]; ];
fontconfig = { fontconfig = {
enable = true; enable = true;
allowBitmaps = true; allowBitmaps = true;
defaultFonts = { defaultFonts = {
monospace = ["JetBrainsMono NF SemiBold" "Twitter Color Emoji"]; monospace = ["JetBrainsMono NF Medium" "Twitter Color Emoji"];
serif = ["Noto Serif" "Twitter Color Emoji"]; serif = ["Noto Serif" "Twitter Color Emoji"];
sansSerif = ["Noto Sans" "Twitter Color Emoji"]; sansSerif = ["Noto Sans" "Twitter Color Emoji"];
emoji = ["Twitter Color Emoji"]; emoji = ["Twitter Color Emoji"];