Fix mallorea

This commit is contained in:
Thomas Avé 2026-06-22 13:10:13 +02:00
parent bcb07dd0bd
commit e7cdc999c0
Signed by: thomasave
SSH Key Fingerprint: SHA256:bvIbWy6TO9+PdMTPzWy6dqkRlVQ3eSky+vQcc9aRIiE
4 changed files with 9 additions and 2 deletions

View File

@ -38,6 +38,7 @@
commonModules = host: user: [ commonModules = host: user: [
./hosts/${host}/hardware-configuration.nix ./hosts/${host}/hardware-configuration.nix
({pkgs, ...}: { ({pkgs, ...}: {
pkgs.config.allowUnfree = true;
networking.hostName = host; networking.hostName = host;
time.timeZone = "Asia/Bangkok"; time.timeZone = "Asia/Bangkok";
nix.settings = { nix.settings = {
@ -123,7 +124,7 @@
"user@Tolnedra" = mkHome "x86_64-linux" ./home/Tolnedra.nix; "user@Tolnedra" = mkHome "x86_64-linux" ./home/Tolnedra.nix;
"server@Vault" = mkHome "x86_64-linux" ./home/Vault.nix; "server@Vault" = mkHome "x86_64-linux" ./home/Vault.nix;
"user@Docker" = mkHome "x86_64-linux" ./home/Docker.nix; "user@Docker" = mkHome "x86_64-linux" ./home/Docker.nix;
"server@Mallorea" = mkHome "x86_64-linux" ./home/Mallorea.nix; "server@mallorea" = mkHome "x86_64-linux" ./home/Mallorea.nix;
}; };
# Generic formatter across architectures # Generic formatter across architectures

View File

@ -98,4 +98,9 @@ in {
LANG = "en_US.UTF-8"; LANG = "en_US.UTF-8";
XDG_RUNTIME_DIR = "/run/user/$(id -u)"; XDG_RUNTIME_DIR = "/run/user/$(id -u)";
}; };
home.packages = with pkgs; [
rclone
uv
claude-code
];
} }

View File

@ -160,7 +160,7 @@ borg create -s --progress \
borg prune -d 365 --save-space 10.4.0.1:Storage/Thomas/Borg/Cloud borg prune -d 365 --save-space 10.4.0.1:Storage/Thomas/Borg/Cloud
borg compact 10.4.0.1:Storage/Thomas/Borg/Cloud borg compact 10.4.0.1:Storage/Thomas/Borg/Cloud
ssh vault /home/server/Storage/Thomas/Borg/Sync.sh # ssh vault /home/server/Storage/Thomas/Borg/Sync.sh
########################################## ##########################################
# Lock the Vault # # Lock the Vault #

View File

@ -17,6 +17,7 @@
pkgs.moreutils pkgs.moreutils
inputs.fzgo.packages.${pkgs.stdenv.hostPlatform.system}.default inputs.fzgo.packages.${pkgs.stdenv.hostPlatform.system}.default
]; ];
programs.zsh.dotDir = "${config.xdg.configHome}/zsh";
home.sessionVariables = { home.sessionVariables = {
BROWSER = "Helium"; BROWSER = "Helium";
PDF_VIEWER = "evince"; PDF_VIEWER = "evince";