diff --git a/modules/base/home/fish.nix b/modules/base/home/fish.nix index a37471d..639fe83 100644 --- a/modules/base/home/fish.nix +++ b/modules/base/home/fish.nix @@ -60,6 +60,8 @@ exportMachineSSHkey = "export SOPS_AGE_KEY=$(sudo ssh-to-age -i /etc/ssh/ssh_host_ed25519_key -private-key) "; checkPR = ''cd /home/cholli/projects/NixOS/nixpkgs && ${lib.getExe pkgs.nixpkgs-review} pr $argv --post-result --systems "x86_64-linux aarch64-linux"''; + + syncfactoriomodstoserver = ''rsync -aP ~/.factorio/mods/ root@loptland:/var/lib/factorio/mods/ --delete && ssh root@loptland "systemctl restart systemd-tmpfiles-resetup.service && systemctl restart factorio.service"''; }; plugins = with pkgs.fishPlugins; [ { diff --git a/modules/hosts/nixberry/default.nix b/modules/hosts/nixberry/default.nix index a4fb43d..4ac8b72 100644 --- a/modules/hosts/nixberry/default.nix +++ b/modules/hosts/nixberry/default.nix @@ -38,7 +38,6 @@ topLevel: { with topLevel.config.flake.modules.nixos; with inputs.nixos-raspberrypi.nixosModules; [ - inputs.catppuccin.nixosModules.catppuccin raspberry-pi-5.base raspberry-pi-5.page-size-16k raspberry-pi-5.display-vc4 diff --git a/modules/hosts/yggdrasil/default.nix b/modules/hosts/yggdrasil/default.nix index b627bff..9c473b1 100644 --- a/modules/hosts/yggdrasil/default.nix +++ b/modules/hosts/yggdrasil/default.nix @@ -38,7 +38,6 @@ topLevel: { inputs.nixos-hardware.nixosModules.common-cpu-amd inputs.nixos-hardware.nixosModules.common-pc inputs.nixos-hardware.nixosModules.common-pc-ssd - inputs.catppuccin.nixosModules.catppuccin # System modules base diff --git a/modules/server/factorio-server.nix b/modules/server/factorio-server.nix index a68a0d7..4739927 100644 --- a/modules/server/factorio-server.nix +++ b/modules/server/factorio-server.nix @@ -35,9 +35,7 @@ "token": "${config.sops.placeholder."factorio/token"}" } ''; - mode = "0400"; - owner = "factorio"; - group = "factorio"; + mode = "0444"; }; };