Update ~8/26/24

This commit is contained in:
2024-08-29 18:54:36 +09:00
parent eebaa957af
commit 02ded93d14
19 changed files with 120 additions and 4 deletions

7
system/env.nix Normal file
View File

@@ -0,0 +1,7 @@
{ config, lib, pkgs, ... }:
{
environment.variables = {
EDITOR = "vim";
MOZ_ENABLE_WAYLAND = 1;
};
}

View File

@@ -0,0 +1,13 @@
{ config, lib, pkgs, systemSettings, ... }:
{
i18n = {
inputMethod = {
enabled = "fcitx5";
fcitx5 = {
waylandFrontend = true;
plasma6Support = true;
addons = with pkgs; [ fcitx5-mozc ];
};
};
};
}

View File

@@ -8,5 +8,6 @@
powerManagement.finegrained = false;
open = true;
nvidiaSettings = true;
package = config.boot.kernelPackages.nvidiaPackages.production;
};
}

View File

@@ -1,9 +1,14 @@
{ pkgs, config, ... }:
{ pkgs, config, lib, ... }:
{
virtualisation.containers.enable = true;
virtualisation.docker = {
enable = true;
storageDriver = "overlay2";
enableOnBoot = true;
daemon.settings = {
features.cdi = true;
};
};
environment.systemPackages = with pkgs; [
@@ -13,5 +18,5 @@
nvidia-container-toolkit
];
hardware.nvidia-container-toolkit.enable = true;
hardware.nvidia-container-toolkit.enable = lib.lists.elem "nvidia" config.services.xserver.videoDrivers;
}

View File

@@ -5,6 +5,7 @@
vim
wget
file
eza
jq
htop
mc