add docker and zram
This commit is contained in:
parent
e3be334245
commit
8959ae3c2e
1 changed files with 9 additions and 1 deletions
|
@ -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
|
||||||
|
|
Reference in a new issue