mirror of
https://github.com/genebean/dots.git
synced 2026-03-28 01:47:42 -04:00
Merge pull request #450 from genebean/rainbow-containers
containers and some random fixes and upgrades
This commit is contained in:
commit
5cf6172925
1 changed files with 30 additions and 5 deletions
|
|
@ -6,13 +6,19 @@
|
||||||
|
|
||||||
system.stateVersion = "23.05";
|
system.stateVersion = "23.05";
|
||||||
|
|
||||||
boot.loader = {
|
boot = {
|
||||||
|
initrd.systemd = {
|
||||||
|
enable = true;
|
||||||
|
network.wait-online.enable = false; # Handled by NetworkManager
|
||||||
|
};
|
||||||
|
loader = {
|
||||||
efi.canTouchEfiVariables = true;
|
efi.canTouchEfiVariables = true;
|
||||||
systemd-boot= {
|
systemd-boot= {
|
||||||
enable = true;
|
enable = true;
|
||||||
consoleMode = "1";
|
consoleMode = "1";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||||
|
|
||||||
|
|
@ -42,6 +48,8 @@
|
||||||
pavucontrol
|
pavucontrol
|
||||||
polkit-kde-agent
|
polkit-kde-agent
|
||||||
ulauncher
|
ulauncher
|
||||||
|
podman-compose
|
||||||
|
podman-tui # status of containers in the terminal
|
||||||
pop-gtk-theme
|
pop-gtk-theme
|
||||||
pop-icon-theme
|
pop-icon-theme
|
||||||
pop-launcher
|
pop-launcher
|
||||||
|
|
@ -89,16 +97,20 @@
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
boinc.enable = true;
|
boinc.enable = true;
|
||||||
|
dbus.implementation = "broker";
|
||||||
desktopManager.cosmic.enable = true;
|
desktopManager.cosmic.enable = true;
|
||||||
desktopManager.plasma6.enable = true;
|
desktopManager.plasma6.enable = true;
|
||||||
displayManager.sddm = {
|
displayManager.sddm = {
|
||||||
enable = true;
|
enable = true;
|
||||||
wayland.enable = true;
|
wayland.enable = true;
|
||||||
};
|
};
|
||||||
|
fstrim.enable = true;
|
||||||
fwupd.enable = true;
|
fwupd.enable = true;
|
||||||
gnome.gnome-keyring.enable = true; # Provides secret storage
|
gnome.gnome-keyring.enable = true; # Provides secret storage
|
||||||
gvfs.enable = true; # Used by Nautilus
|
gvfs.enable = true; # Used by Nautilus
|
||||||
|
irqbalance.enable = true;
|
||||||
printing.enable = true; # Enable CUPS
|
printing.enable = true; # Enable CUPS
|
||||||
|
resolved.enable = true;
|
||||||
tailscale = {
|
tailscale = {
|
||||||
enable = true;
|
enable = true;
|
||||||
authKeyFile = config.sops.secrets.tailscale_key.path;
|
authKeyFile = config.sops.secrets.tailscale_key.path;
|
||||||
|
|
@ -159,13 +171,20 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
system.switch = {
|
||||||
|
enable = false;
|
||||||
|
enableNg = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
systemd.network.wait-online.enable = false; # Handled by NetworkManager
|
||||||
|
|
||||||
users.extraGroups.vboxusers.members = [ "${username}" ];
|
users.extraGroups.vboxusers.members = [ "${username}" ];
|
||||||
|
|
||||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||||
users.users.${username} = {
|
users.users.${username} = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Gene Liverman";
|
description = "Gene Liverman";
|
||||||
extraGroups = [ "networkmanager" "wheel" "dialout" "input" ];
|
extraGroups = [ "dialout" "docker" "input" "networkmanager" "podman" "wheel" ];
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
tailscale-systray
|
tailscale-systray
|
||||||
];
|
];
|
||||||
|
|
@ -173,13 +192,19 @@
|
||||||
|
|
||||||
virtualisation = {
|
virtualisation = {
|
||||||
containers.enable = true;
|
containers.enable = true;
|
||||||
|
docker = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.docker_26;
|
||||||
|
};
|
||||||
libvirtd = {
|
libvirtd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
qemu.package = pkgs.qemu_kvm;
|
qemu.package = pkgs.qemu_kvm;
|
||||||
};
|
};
|
||||||
podman = {
|
podman = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
autoPrune.enable = true;
|
||||||
defaultNetwork.settings.dns_enabled = true;
|
defaultNetwork.settings.dns_enabled = true;
|
||||||
|
# dockerCompat = true;
|
||||||
};
|
};
|
||||||
virtualbox.host.enable = true;
|
virtualbox.host.enable = true;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue