feat: new setup for work laptop
This commit is contained in:
parent
572a731057
commit
17328f7089
17 changed files with 1063 additions and 957 deletions
|
|
@ -1,8 +1,6 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [ ./hardware-configuration.nix ];
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.systemd-boot.configurationLimit = 3;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
|
@ -10,8 +8,6 @@
|
|||
boot.loader.systemd-boot.consoleMode = "max";
|
||||
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
|
||||
|
||||
networking.hostName = "framework";
|
||||
|
||||
# Ensure current wireless firmware is available.
|
||||
hardware.enableRedistributableFirmware = true;
|
||||
|
||||
|
|
@ -280,18 +276,6 @@
|
|||
"net.ipv4.tcp_congestion_control" = "bbr";
|
||||
};
|
||||
|
||||
# Use RAM disk (tmpfs) for temporary files - much faster than disk
|
||||
fileSystems."/tmp" = {
|
||||
device = "tmpfs";
|
||||
fsType = "tmpfs";
|
||||
options = [
|
||||
"size=32G" # Use up to 32GB RAM for /tmp (adjust as needed)
|
||||
"mode=1777"
|
||||
"nosuid"
|
||||
"nodev"
|
||||
];
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
bubblewrap
|
||||
docker
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue