mount tmpfs on /tmp and Downloads
This commit is contained in:
parent
72e31cd54f
commit
b37d418816
@ -1,11 +1,11 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
|
||||
{
|
||||
imports = [ ./hardware-configuration.nix ];
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
networking.hostName = "gAluminum";
|
||||
|
||||
|
||||
time.timeZone = "Europe/London";
|
||||
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
@ -63,7 +63,7 @@
|
||||
neovim
|
||||
home-manager
|
||||
];
|
||||
|
||||
|
||||
fonts.fonts = with pkgs; [cascadia-code];
|
||||
|
||||
system.stateVersion = "21.05"; # Did you read the comment?
|
||||
@ -97,5 +97,17 @@
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
fileSystems."/tmp" = {
|
||||
device = "tmpfs";
|
||||
fsType = "tmpfs";
|
||||
options = ["size=2G"];
|
||||
};
|
||||
|
||||
fileSystems."/home/giulio/Downloads" = {
|
||||
device = "tmpfs";
|
||||
fsType = "tmpfs";
|
||||
options = ["size=3G"];
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user