Archived
0
0
Fork 0

add docker and zram

This commit is contained in:
Daryl Ronningen 2022-12-25 01:28:29 -08:00
parent e3be334245
commit 8959ae3c2e
Signed by: Daryl Ronningen
GPG key ID: FD23F0C934A5EC6B

View file

@ -96,7 +96,7 @@
users.users.relms = { users.users.relms = {
isNormalUser = true; isNormalUser = true;
description = "Daryl Ronningen"; description = "Daryl Ronningen";
extraGroups = [ "networkmanager" "wheel" ]; extraGroups = [ "networkmanager" "wheel" "docker" ];
shell = pkgs.fish; shell = pkgs.fish;
}; };
@ -127,6 +127,13 @@
services.fwupd.enableTestRemote = true; services.fwupd.enableTestRemote = true;
services.fwupd.extraRemotes = [ "lvfs-testing" ]; services.fwupd.extraRemotes = [ "lvfs-testing" ];
# Docker
virtualisation.docker.enable = true;
# Enable ZRAM
zramSwap.enable = true;
zramSwap.priority = 100;
# Setup some basic fonts # Setup some basic fonts
fonts = { fonts = {
enableDefaultFonts = true; enableDefaultFonts = true;
@ -135,6 +142,7 @@
fonts = [ pkgs.nerdfonts ]; fonts = [ pkgs.nerdfonts ];
}; };
# Fix firmware update on framework laptop
environment.etc."fwupd/uefi_capsule.conf".text = lib.mkForce '' environment.etc."fwupd/uefi_capsule.conf".text = lib.mkForce ''
[uefi_capsule] [uefi_capsule]
DisableCapsuleUpdateOnDisk=true DisableCapsuleUpdateOnDisk=true