tmpfs and set noatime
This commit is contained in:
@@ -67,6 +67,7 @@
|
|||||||
./modules/paperless.nix
|
./modules/paperless.nix
|
||||||
./modules/kavita.nix
|
./modules/kavita.nix
|
||||||
./modules/netdata.nix
|
./modules/netdata.nix
|
||||||
|
./modules/tmpfs.nix
|
||||||
### Hardware ###
|
### Hardware ###
|
||||||
./modules/hardware/ssd.nix
|
./modules/hardware/ssd.nix
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
@@ -106,6 +107,7 @@
|
|||||||
./modules/noise-supression.nix
|
./modules/noise-supression.nix
|
||||||
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; })
|
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; })
|
||||||
./modules/wooting.nix
|
./modules/wooting.nix
|
||||||
|
./modules/tmpfs.nix
|
||||||
./modules/support/ntfs.nix
|
./modules/support/ntfs.nix
|
||||||
./systems/pc/configuration.nix
|
./systems/pc/configuration.nix
|
||||||
agenix.nixosModules.default
|
agenix.nixosModules.default
|
||||||
@@ -131,6 +133,7 @@
|
|||||||
#./modules/wake-on-lan.nix
|
#./modules/wake-on-lan.nix
|
||||||
./modules/thunderbolt.nix
|
./modules/thunderbolt.nix
|
||||||
./modules/rdp.nix
|
./modules/rdp.nix
|
||||||
|
./modules/tmpfs.nix
|
||||||
nixos-hardware.nixosModules.dell-xps-15-7590-nvidia
|
nixos-hardware.nixosModules.dell-xps-15-7590-nvidia
|
||||||
agenix.nixosModules.default
|
agenix.nixosModules.default
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
|
|||||||
@@ -16,6 +16,10 @@
|
|||||||
fileSystems."/" =
|
fileSystems."/" =
|
||||||
{ device = "/dev/disk/by-uuid/b90bb1c8-922d-45b4-b911-74c37dca2ed3";
|
{ device = "/dev/disk/by-uuid/b90bb1c8-922d-45b4-b911-74c37dca2ed3";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
|
options = [
|
||||||
|
"defaults"
|
||||||
|
"noatime"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/boot" =
|
fileSystems."/boot" =
|
||||||
|
|||||||
3
modules/tmpfs.nix
Normal file
3
modules/tmpfs.nix
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
boot.tmp.useTmpfs = true;
|
||||||
|
}
|
||||||
@@ -50,6 +50,9 @@
|
|||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
boot.initrd.systemd.network.wait-online.enable = false;
|
boot.initrd.systemd.network.wait-online.enable = false;
|
||||||
systemd.network.wait-online.enable = false;
|
systemd.network.wait-online.enable = false;
|
||||||
|
|
||||||
|
#disable firewall when doing ipv6 vm stuff
|
||||||
|
#networking.firewall.enable = lib.mkForce false;
|
||||||
|
|
||||||
# Set your time zone.
|
# Set your time zone.
|
||||||
time.timeZone = "Europe/Vienna";
|
time.timeZone = "Europe/Vienna";
|
||||||
|
|||||||
@@ -16,6 +16,10 @@
|
|||||||
fileSystems."/" =
|
fileSystems."/" =
|
||||||
{ device = "/dev/disk/by-uuid/dd65bdf8-c003-439c-a1aa-d050cb20959d";
|
{ device = "/dev/disk/by-uuid/dd65bdf8-c003-439c-a1aa-d050cb20959d";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
|
options = [
|
||||||
|
"defaults"
|
||||||
|
"noatime"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/boot" =
|
fileSystems."/boot" =
|
||||||
|
|||||||
@@ -16,6 +16,10 @@
|
|||||||
fileSystems."/" =
|
fileSystems."/" =
|
||||||
{ device = "/dev/disk/by-uuid/1af836fb-ffef-4362-84af-bcb24d4db068";
|
{ device = "/dev/disk/by-uuid/1af836fb-ffef-4362-84af-bcb24d4db068";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
|
options = [
|
||||||
|
"defaults"
|
||||||
|
"noatime"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/boot" =
|
fileSystems."/boot" =
|
||||||
@@ -42,7 +46,7 @@
|
|||||||
fileSystems."/mnt/250ssd" =
|
fileSystems."/mnt/250ssd" =
|
||||||
{ device = "/dev/disk/by-uuid/80163cf9-2030-4757-ada2-03db96184961";
|
{ device = "/dev/disk/by-uuid/80163cf9-2030-4757-ada2-03db96184961";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
options = ["defaults" "nofail"];
|
options = ["defaults" "nofail" "noatime"];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||||
|
|||||||
Reference in New Issue
Block a user