Update ~8/26/24
This commit is contained in:
7
system/env.nix
Normal file
7
system/env.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
environment.variables = {
|
||||
EDITOR = "vim";
|
||||
MOZ_ENABLE_WAYLAND = 1;
|
||||
};
|
||||
}
|
||||
13
system/hardware/inputMethods.nix
Normal file
13
system/hardware/inputMethods.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{ config, lib, pkgs, systemSettings, ... }:
|
||||
{
|
||||
i18n = {
|
||||
inputMethod = {
|
||||
enabled = "fcitx5";
|
||||
fcitx5 = {
|
||||
waylandFrontend = true;
|
||||
plasma6Support = true;
|
||||
addons = with pkgs; [ fcitx5-mozc ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -8,5 +8,6 @@
|
||||
powerManagement.finegrained = false;
|
||||
open = true;
|
||||
nvidiaSettings = true;
|
||||
package = config.boot.kernelPackages.nvidiaPackages.production;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
vim
|
||||
wget
|
||||
file
|
||||
eza
|
||||
jq
|
||||
htop
|
||||
mc
|
||||
|
||||
Reference in New Issue
Block a user