From 8959ae3c2edfba34174910e62d89bcace6936c78 Mon Sep 17 00:00:00 2001 From: Daryl Ronningen Date: Sun, 25 Dec 2022 01:28:29 -0800 Subject: [PATCH] add docker and zram --- hosts/skynet/configuration.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/hosts/skynet/configuration.nix b/hosts/skynet/configuration.nix index 690eefa..8459119 100644 --- a/hosts/skynet/configuration.nix +++ b/hosts/skynet/configuration.nix @@ -96,7 +96,7 @@ users.users.relms = { isNormalUser = true; description = "Daryl Ronningen"; - extraGroups = [ "networkmanager" "wheel" ]; + extraGroups = [ "networkmanager" "wheel" "docker" ]; shell = pkgs.fish; }; @@ -127,6 +127,13 @@ services.fwupd.enableTestRemote = true; services.fwupd.extraRemotes = [ "lvfs-testing" ]; + # Docker + virtualisation.docker.enable = true; + + # Enable ZRAM + zramSwap.enable = true; + zramSwap.priority = 100; + # Setup some basic fonts fonts = { enableDefaultFonts = true; @@ -135,6 +142,7 @@ fonts = [ pkgs.nerdfonts ]; }; + # Fix firmware update on framework laptop environment.etc."fwupd/uefi_capsule.conf".text = lib.mkForce '' [uefi_capsule] DisableCapsuleUpdateOnDisk=true