From 60018c6a9e05e9da44a585798cc18a9124a72a13 Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Fri, 11 Nov 2022 19:16:42 +0100 Subject: [PATCH] architect/default: Removed unused modules, removed cudatoolkit, changed tmpOnTmpfs size, removed node from unsafe packages --- hosts/architect/default.nix | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) diff --git a/hosts/architect/default.nix b/hosts/architect/default.nix index 5a5a59d..1b8cff3 100644 --- a/hosts/architect/default.nix +++ b/hosts/architect/default.nix @@ -23,27 +23,24 @@ in { ./matrix.nix ./fail2ban.nix ./dns.nix - # ./minecraft.nix + ./minecraft.nix ./prowlarr.nix - # ./plex.nix - #./githubrunner.nix ./libreddit.nix ./invidious.nix ./nitter.nix - ./ccache.nix ./lidarr.nix -# ./navidrome.nix + ./navidrome.nix ./jellyfin.nix ./prosody.nix ./deluge.nix - # ./calibre.nix + ./calibre.nix ../../cachix.nix ./docker.nix + ./keycloak.nix ]; - nixpkgs.config.permittedInsecurePackages = [ "nodejs-12.22.12" ]; time.timeZone = "Europe/Rome"; - system.stateVersion = "21.11"; # Did you read the comment? + system.stateVersion = "21.11"; users.users.giulio.openssh.authorizedKeys.keys = pubkeys; boot = { initrd = { @@ -56,13 +53,6 @@ in { hostKeys = [ /secrets/ssh_host_rsa_key ]; authorizedKeys = pubkeys; }; - - # postCommands = '' - # zpool import backedpool -f - # zpool import zpool -f - - # echo "zfs load-key -ar; killall zfs" >> /root/.profile - # ''; }; }; }; @@ -88,7 +78,7 @@ in { supportedFilesystems = [ "zfs" ]; zfs.requestEncryptionCredentials = true; - tmpOnTmpfsSize = "80%"; + tmpOnTmpfsSize = "50%"; }; networking = { @@ -133,7 +123,7 @@ in { ''; }; - environment.systemPackages = with pkgs; [ cudatoolkit cachix ]; + environment.systemPackages = with pkgs; [ cachix ]; hardware = { opengl.enable = true;