architect/default: Removed unused modules, removed cudatoolkit, changed tmpOnTmpfs size, removed node from unsafe packages
This commit is contained in:
parent
e17d9f5a45
commit
60018c6a9e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user