mirror of
https://github.com/XNM1/linux-nixos-hyprland-config-dotfiles.git
synced 2025-09-15 09:45:58 +03:00
update: added nvidia support in containters, enabled resolvconf & updated some configs
This commit is contained in:
@@ -69,12 +69,14 @@ decoration {
|
||||
passes = 2
|
||||
}
|
||||
|
||||
drop_shadow = yes
|
||||
shadow_range = 15
|
||||
shadow_offset = 0, 0
|
||||
shadow_render_power = 3
|
||||
col.shadow = $teal
|
||||
col.shadow_inactive = 0xff$baseAlpha;
|
||||
shadow {
|
||||
enabled = true;
|
||||
range = 15
|
||||
render_power = 3
|
||||
offset = 0, 0
|
||||
color = $teal
|
||||
color_inactive = 0xff$baseAlpha;
|
||||
}
|
||||
|
||||
active_opacity = 0.7
|
||||
inactive_opacity = 0.7
|
||||
|
@@ -13,7 +13,7 @@
|
||||
|
||||
# If using resolvconf:
|
||||
resolvconf = {
|
||||
enable = false; # FIXME remember to delete /etc/resolv.conf after applying this config
|
||||
enable = true; # FIXME remember to delete /etc/resolv.conf if you disable `resolvconf`
|
||||
useLocalResolver = true;
|
||||
};
|
||||
|
||||
|
@@ -20,7 +20,7 @@
|
||||
gopls
|
||||
delve
|
||||
emmet-language-server
|
||||
buf-language-server
|
||||
buf
|
||||
cmake-language-server
|
||||
docker-compose-language-service
|
||||
vscode-extensions.vadimcn.vscode-lldb
|
||||
|
@@ -4,6 +4,9 @@
|
||||
# Load nvidia driver for Xorg and Wayland
|
||||
services.xserver.videoDrivers = ["nvidia"];
|
||||
|
||||
# Enable access to nvidia from containers (Docker, Podman)
|
||||
hardware.nvidia-container-toolkit.enable = true;
|
||||
|
||||
hardware.nvidia = {
|
||||
|
||||
# Modesetting is required.
|
||||
|
@@ -19,11 +19,14 @@
|
||||
|
||||
# Create a `docker` alias for podman, to use it as a drop-in replacement
|
||||
dockerCompat = true;
|
||||
dockerSocket.enable = true;
|
||||
|
||||
# Required for containers under podman-compose to be able to talk to each other.
|
||||
defaultNetwork.settings.dns_enabled = true;
|
||||
};
|
||||
};
|
||||
environment.variables.DBX_CONTAINER_MANAGER = "podman";
|
||||
users.extraGroups.podman.members = [ "xnm" ];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
# nerdctl
|
||||
@@ -38,6 +41,7 @@
|
||||
podman-compose
|
||||
podman-tui
|
||||
|
||||
docker-compose
|
||||
# lazydocker
|
||||
# docker-credential-helpers
|
||||
];
|
||||
|
Reference in New Issue
Block a user